aspose file tools*
The moose likes JSP and the fly likes How to change my client from JSP to Swing?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to change my client from JSP to Swing??" Watch "How to change my client from JSP to Swing??" New topic
Author

How to change my client from JSP to Swing??

Siddharth Ramavat
Ranch Hand

Joined: Feb 03, 2005
Posts: 41
Hello all,

I have made a chat application using jsp and servlets.. It is running smoothly..Now If i want to change my client side from jsp to swing.. then is it possible to do so by using the same servlets and the same class that are using by the servlet? Tell me the necessary steps to do the same..

Thank You,
Siddharth
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Take a look at the httpclient libraries at:
http://jakarta.apache.org/commons/httpclient.

With them, you should be able to make the same HTTP calls from your Swing app that you're currently making from the browser.

Instead of returning HTML, you may want to have your servlet stream some Java objects to the Swing app.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: How to change my client from JSP to Swing??