| 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: 32
|
|
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
OCPJP 7 | OCAJP 7
|
 |
 |
|
|
subject: how to use uploaded file
|
|
|