This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
There's no good way to integrate a Swing application and a Struts application. A Swing application is either a Stand-alone application or a fat client application, while a Struts application is a web application, and the two don't mix.
If you wrote your Swing application with MVC principles in mind, your model classes will have been written without dependencies on Swing. In that case, you can take these model classes and plug them in as the model to your Struts application. If you didn't keep this separation, you will pretty much have to rewrite the application.
One other alternative is to turn your Swing application into an applet. That can be done quite easily, and it will run on a browser. However, by doing this, you incur the problems associated with applets, such as long download times and security issues.
The Applet contains one Button Which perform some action.. This Action Works fine independetly.. I am unable to perform that action into my JSP page..
How can i accomplish this ..
Thanks for your attention!
Joined: Feb 15, 2005
Be careful, though. As I see it, you need to decide if this is going to be an Applet application that runs entirely within the Applet framework, or if it's going to be a web application with some added applet features. If it's going to be an Applet application, the interaction between HTML and the Applet should be minimal. If it's going to be a web application, page navigation, etc. should be handled by Struts, and the applet should only provide a few features. If you try to mix and match between the two worlds too much, you could have a real mess on your hands. [ October 04, 2006: Message edited by: Merrill Higginson ]