This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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