wood burning stoves 2.0*
The moose likes JSP and the fly likes can we use Swing Component in JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "can we use Swing Component in JSP page" Watch "can we use Swing Component in JSP page" New topic
Author

can we use Swing Component in JSP page

Ahmed Shaikh
Ranch Hand

Joined: Jul 25, 2005
Posts: 51
Hi All,
I need you help..
Plz help in solving this problem..
I got a work in which i have to change my standalone application(developed in swing) into web-based application(using JSP).
so will you plz tell me how i can use swing component or similar thig to complete that task.
I have to create a same page which is there in Swing.

waiting for your reply.
Thanx in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42357
    
  64
JSP is a server-side technology, while Swing works on the client. There is no way to use Swing in JSP.

It might be possible to convert the Swing application into a Swing applet, which can run inside one of your web pages, though.
[ November 14, 2005: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Ahmed Shaikh
Ranch Hand

Joined: Jul 25, 2005
Posts: 51
Thanx for your reply.
how i can use panel borderName in JSP which is there in swing.
is there any way in which i can give table row borderName im jsp.

Plz help ...
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42357
    
  64
There are many things Swing can do which HTML can't. Asking in the HTML/JavaScript forum might yield an answer faster.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Ahmed Shaikh:
how i can use panel borderName in JSP which is there in swing.
is there any way in which i can give table row borderName im jsp.


Are you again trying to use Swing in JSP?
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
One can just use Applets in JSP, and the applets might be using of course swing-AWT-SWT etc.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we use Swing Component in JSP page