aspose file tools*
The moose likes Servlets and the fly likes how to connect from java swings to servlets. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to connect from java swings to servlets." Watch "how to connect from java swings to servlets." New topic
Author

how to connect from java swings to servlets.

mohan dodderi
Ranch Hand

Joined: Aug 23, 2004
Posts: 69
hi, i want to know how to connect from java swings to servlet and send data from swings to servlet , if any one knows , pls help me and also if u have any examples, clues just send to me

thank you very much Ranch'ns
by
Mohan dodderi
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
From SWINGS to Servlet ---> You can use java.net.URLConnection will help you. and you can get the output of the Servlet.

Another way of bi directional communication is using java.net.ServerSocket and java.net.Socket

I sugget go thru the java.net api

Regards


Sarath Mohan
mohan dodderi
Ranch Hand

Joined: Aug 23, 2004
Posts: 69
thank you Sharath MOhan ,

regrds
Mohan Dodderi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to connect from java swings to servlets.