This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
MultipartRequest multi = new MultipartRequest(req,getServletContext().getRealPath("/UploadedPics/"));
1) It works fine on my labtop
2) My dedicated server is using Apache and Tomcat with mod_jk connectors. When am uploading to my website then it throws error IllegalArgumentException: Not a directory: /opt/apache-tomcat-5.5.23/webapps/mywebsite/UploadedPics