This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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.