File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
change default directory
request resource is not available
Open source code for RTP/RTCP API on J2ME
https file upload
how to implement GET request in struts1.3