This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes Swing Components with Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Swing Components with Struts" Watch "Swing Components with Struts" New topic

Swing Components with Struts

Peter Tilm

Joined: Jun 10, 2003
Posts: 7
i would like to include jslider-Components (and maybe jComboBox/Swing) into the Web-Clients. As far as i know it's not possible with struts because there's only html being produced for the browser, right? Does anyone have experience in impementing this requirement? Must i include Applets into my "JSP-generated" html-pages?
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You can only include swing components in applets. There is no other was to do that in a jsp. So you can use Struts for some basic stuff and then on the desired page you simply add an applet to the JSP. (normal html applet tag)
It is sorta covered in the JavaRanch Style Guide.
subject: Swing Components with Struts
It's not a secret anymore!