parse « Form « JSP-Servlet Q&A





1. Convenient way to parse incoming multipart/form-data parameters in a Servlet    stackoverflow.com

Is there any convenient way to read and parse data from incoming request. E.g client initiate post request

URLConnection connection = new URL(url).openConnection();
connection.setDoOutput(true);
connection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);
PrintWriter writer = null;
try {
   ...