Tomcat upload saves file in bin folder, how to upload in particular directory
by rajesh[ Edit ] 2012-05-29 23:33:47
Tomcat will upload files by default in to bin folder if you have not specifies a full path while creating a file. This happens because the tomcat startup script runs from tomcat bin folder.
You will have to specify the full path while creating the file name in your program,
Where you have to create the images like
/home/makitnw/public_html/filename.jpg