File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to connect from java swings to servlets.

 
mohan dodderi
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 213
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
mohan dodderi
Ranch Hand
Posts: 69
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Sharath MOhan ,

regrds
Mohan Dodderi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic