You could annotate your servlet with @MultipartConfig, then you can use HttpServletRequest#getParts() to get the individual parts.
This is available starting from Servlet 3.0. If for some reason you're stuck on an older version of Java Servlets, you may choose to use Apache Commons File Upload.