image upload to a paticular folder at web server

Please please please help me, I am stuck on this for quiet a while and checked the previous posts here, but still could not fix this. My code is as below, when run it, it always shows failure, and nothing uploaded on the server.

1) I don't know which line to set up the folder on the server for me to save the images, it is: "/upload/"

Step 1: If you've looked at other topics on this issue, you'll have noted that the Java code should not be in a JSP but in a servlet. So first step is to ditch the JSP and put the file upload handling code in a servlet.

Step 1: Place the jar file for the commons library in the web app's WEB-INF/lib folder.