aspose file tools*
The moose likes JSP and the fly likes swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "swing" Watch "swing" New topic
Author

swing

swati ksn
Greenhorn

Joined: May 05, 2002
Posts: 4
Can swing components be used with JSP? How?
Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
I won't say NO straight away, because I have little experience in swing.
However, I would argue like this ...
1. Swing components are GUI building components.
2. JSP does not have a gui. ( It outputs some data in a Stream which is rendered by some other client program {browser} to be translated into a gui )
3. Following this logic, I would rather say it probably makes little sense to use swing components.


Shubhrajit
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
you cant use swing with jsp.
however you can use applets in html page or jsp page with swing, or you can try the Sever Faces which add many nice gui to a regular html page.
swati ksn
Greenhorn

Joined: May 05, 2002
Posts: 4
What is Sever Faces?
- Thanks
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
oops sorry. i meant Server Faces.
its a new API for building server side GUIs instead of plain html.
check this link for some more info.
 
Consider Paul's rocket mass heater.
 
subject: swing