Thomas Oellrich wrote:
>
> Hello,
>
> I'm experiencing some problems with the otherwise extremly useful
> MultipartRequest class from Jason Hunter's book. For example, when I
> try to upload a file which exceeds the allowed maximum file size,
> an appropriate error message is displayed. If I do the same action
> again, my browser throws the following error message:
>
> "A network error occured while Netscape was sending data.
>  (Network Error: Broken pipe)
>  Try connecting again."
>
> The strange thing is that this doesn't happen all the time.
>
> Has anyone else seen this?

Yes, someone else saw the problem.  There's information in the
archives.  What I can recall off the top of my head is that because an
HTTP request has to finish before the response can begin, Tomcat would
need to suck in all the POST data before generating a response, even if
the size is been determined to be too large.  The person who hit this
problem was investigating adding this capability to Tomcat.

-jh-

--
Jason Hunter
[EMAIL PROTECTED]
Book:    http://www.servlets.com/book
2.0 to 2.1: http://www.javaworld.com/jw-12-1998/jw-12-servletapi.html
2.1 to 2.2: http://www.javaworld.com/jw-10-1999/jw-10-servletapi.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to