Can swing components be used within a jsp?
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, April 6, 2001 01:01 PM

Looking to implement a scrollable window with more functionality
than a standard htm textarea, using the JScrollBar swing
component. Is this possible?

Can swing components be used within a jsp?

Posted By:   Scott_Stanchfield  
Posted On:   Wednesday, April 25, 2001 08:01 AM

You would have to create an applet and imbed the applet in the JSP using the tag.

Note that the user's browser must support Swing... See the Swing FAQ for Q/As about using Swing in applets.

Re: Can swing components be used within a jsp?

Posted By:   Michael_Wax  
Posted On:   Friday, April 6, 2001 06:07 PM

No. While a jsp has embedded Java, the client sees HTML only, so that you are limited to HTML functionality. If you want more, you need to use an applet, Flash, or something along those lines.