aspose file tools*
The moose likes Servlets and the fly likes how to use uploaded file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to use uploaded file" Watch "how to use uploaded file" New topic
Author

how to use uploaded file

rakhi sinha
Ranch Hand

Joined: Mar 26, 2012
Posts: 147
in my project i am uploading a file using servlet ,i want to use this uploaded file in another servlet directly(without using getrealpath)....how can i do it???
Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

save the file path in session or request object and retrieve it on another servlet.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Pondurai Singh
Ranch Hand

Joined: Jun 27, 2011
Posts: 35
See the following tutorials that will really help you.
http://commons.apache.org/fileupload/apidocs/org/apache/commons/fileupload/servlet/package-summary.html
http://java-x.blogspot.in/2010/08/file-upload-with-servlet-30.html


Software Developer, Oracle Java Certification Training Labs at EPractize Labs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use uploaded file