File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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)
I agree. Here's the link:
subject: Swing Components with Struts
jQuery in Action, 3rd edition