I am using http://commons.apache.org/proper/commons-fileupload/ to parse multipart form and extract an uploaded file. I am following this manual http://www.oreillynet.com/onjava/blog/2006/06/parsing_formdata_multiparts.html and fresh new documentation from inside that package. The request.getContentLength() is saying 700K and that is the code
InputStream input = request.getInputStream();
MultipartStream mStream = new MultipartStream(input, boundArray, 94096 /*random number*/, null);
boolean part = mStream.skipPreamble();
And the part is always false. Could anybody tell me why? Thank you!