File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use uploaded file

 
rakhi sinha
Ranch Hand
Posts: 147
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 485
Eclipse IDE Firefox Browser Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
save the file path in session or request object and retrieve it on another servlet.
 
Pondurai Singh
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic