This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to change my client from JSP to Swing??
 
Similar Threads
change cursor to an hourglass
how to change my client side from JSP to Swing bra
JSP and Swing
how to change my client side from JSP to Swing
How to call servlet which is inside the jar??