I'm trying to use the parseRequest()method on the request parameter in
my JSP file. First, I use the isMultipartContent() method on the
request parameter and it always returns a FALSE.
When I execute the parseRequest() method on the request parameter it
always causes an exception.
The method parameter in my JSP file is a type coyoterequestfacade, the
parseRequest() should except this because it is derived from
HttpServletResponse according to Apache. The data looks valid.
Can someone help me understand why this parseRequest() is not
functioning?
The following is the error message returned:
File upload exception:
org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException:
the request doesn't contain a multipart/form-data or multipart/mixed
stream, content type header is application/x-www-form-urlencoded
Thanks,
Ben