If I upload any file in the JSP then how i know the full path of the location where the file is save on servlet.
Asked
Active
Viewed 1,742 times
1 Answers
2
For uploading files using JSP/Servlet, it is suggested to use Apache's Commons FileUpload library: http://commons.apache.org/fileupload/
Then you can explicitly say where you want to save the uploaded file. For example, you might want to save it into the c:\my_files
directory. To get started, you can read this tutorial. For more information, please read FileUpload's Guide.

Behrang
- 46,888
- 25
- 118
- 160