Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.io.IOException: Posted content type isn't multipart/form-data

843835Aug 12 2002 — edited Dec 6 2007
I'm getting the following error:

java.io.IOException: Posted content type isn't multipart/form-data

I'm trying to do a form that will post text as well as upload a file..

I'm doing the following for "normal" form data

MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);

mrequest.getParameter("productType");

It was actually working fine, and just started giving that error.. Any ideas on how to fix this?

-Michael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 3 2008
Added on Aug 12 2002
9 comments
2,353 views