Two Laptop Bag*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to upload a file using POST method
 
Similar Threads
Open source code for RTP/RTCP API on J2ME
how to implement GET request in struts1.3
request resource is not available
change default directory
https file upload