The Servlet and JSP specifications does not provide us with any special feature to handle multipart requests (file uploads).
However,we can use third party libraries or make their own framework for this.Writing our own code to handle this is just like re-inventing the wheel. As Freddy Wong suggested we can use package at
http://commons.apache.org/fileupload/.
But somehow it comes to my mind, what if we use PUT method?