javax.servlet.HttpServletRequest.getParameter(String) returns null 
when the ContentType is multipart/form-data
Solution A:
invoke getParameters() on com.oreilly.servlet.MultipartRequest
You can get files from here 
Solution B:
1. download Jar file from here
2. invoke readHeaders() in org.apache.commons.fileupload.MultipartStream
JSP Example program  here
Solution C:
invoke getParameter on com.bigfoot.bugar.servlet.http.MultipartFormData
Solution D:
Use Struts. Struts 1.1 handles this automatically.
Reference: jGuru 
 
