aspose file tools*
The moose likes Servlets and the fly likes How to upload a file using POST method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to upload a file using POST method" Watch "How to upload a file using POST method" New topic
Author

How to upload a file using POST method

chinna sankar
Greenhorn

Joined: Mar 06, 2005
Posts: 22
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

Joined: Aug 15, 2004
Posts: 2874
see http://jakarta.apache.org/commons/fileupload/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to upload a file using POST method