This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use uploaded file

 
rakhi sinha
Ranch Hand
Posts: 147
  • 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
  • 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
  • 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