File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Displaying Swing Components on JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Displaying Swing Components on JSP page" Watch "Displaying Swing Components on JSP page" New topic
Author

Displaying Swing Components on JSP page

K Syal
Greenhorn

Joined: Oct 28, 2005
Posts: 4
Hi

I have a project where we are developing a webportal on Struts framework & J2EE, my area of concern is when the user logins through a JSP index page the browser should open a graphical user interface which we have to import from a swings based desktop application. What we need to do is we have to import or display a fully functional swings based user interface abstracted from that desktop application which is also developed on struts. Can anybody guide a little how to pull swings into a web-browser? Which technologies we should be looking for like using servlets to pull swings in an applet or can it be done through jsp and taglibraries? Plz help in urgent. Heartiest thanks in advance
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24168
    
  30

You'll either have to turn the app into an Applet, or into a JavaWebStart application. Note that it will be only loosely coupled to the Struts app, as it will be running on the client machine, while the Struts app is running on the server.


[Jess in Action][AskingGoodQuestions]
K Syal
Greenhorn

Joined: Oct 28, 2005
Posts: 4
Hi Earnest

Thanks for responding, I feel i wasnt able to explain my problem precisely. What we need to do is at our end we have both the applications, that is the struts framework and the desktop application in swings, now what we need to do is to use a specific part of the desktop application and plug it into our webportal through struts. Both applications will run from the server only. Could u guide me further asap

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying Swing Components on JSP page
 
Similar Threads
about struts
Recognize the browser type
Best serverside framework for Ajax
How to run jar file in jsp?
Musings of a Java/J2EE job-seeker in UK