Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to upload a file using POST method

 
chinna sankar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I Deployed servlet in a TOMCAT WEBSERVER and it is listing on 9000 port and url is
http://localhost:9000/ebxml/trp/Eb\BXMLListener.

I want to write client program using java.net.Socket, using http POST method and i want to upload the file.

can u help me how to follow further bze i find in net all examples are given by using URL or using JSP.

Thanks in Advance.
 
Adeel Ansari
Ranch Hand
Posts: 2874
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic