Uploading a file in Java Servlet
I have a Java Dynamic Web Project, and I'm using TomCat v7.0. I am new to web projects and I didn't quite understand how I can upload a file in one of my jsp pages. Since my project is intended to be only local, I thought I could use a multipart form in which the person would choose the file (and this part goes fine) and later retreive the file path from my Servlet. I can't complete this part though, it appears to only give me the name of the file, not its entire path. Can anyone point me to the right direction? I've read several posts about Apache File Upload and retreiving information from