This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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)
Don't get me started about those stupid light bulbs.
subject: Swing Components with Struts
It's not a secret anymore!