This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I'm having problems when testing a simple upload servlet using Apache FileUpload. This is the code i'm using in my Servlet:
But i'm getting this error message: "\UploadedFiles (The system cannot find the path specified)" I've tried to insert a complete file name (with name and extension, "UploadedFiles/test.pdf") when instantiating a File object, i've also tried to insert "/" at the beginning of the String, but I always end up with a similar error message.