When I'm processing a multi-part form I do all my interaction with the
posted values using Jason's  class and everything works great. I had trouble
when I mixed my access up using the Request object that gets passed and
Jason's class...when i used just Jason's everything worked out great.

Patrick

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
Hunter
Sent: Saturday, April 03, 1999 1:19 PM
To: [EMAIL PROTECTED]
Subject: Re: a bug in Jason Hunter's MultiPartRequest class?


Hans Bergsten wrote:

> This sounds like a bug in JServ more than a bug in the file upload
> servlet. It seems like JServ tries to read POST parameters from the
> input stream even if the Content Type is not
> application/x-www-form-urlencoded, thereby
> corrupting the stream. I suggest you report this to the Apache team.

Agreed.  BTW, if you want to read a parameter sent as part of the
multipart/form-data you can call getParameter() on MultipartRequest.

-jh-

--
Jason Hunter
[EMAIL PROTECTED]
Book:    http://www.servlets.com/book
Article: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to