Hi,
This wouldn't happen to be the author Jason Hunter??
Bill
-----Original Message-----
From: Jason Hunter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 04, 2000 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem with UploadServlet Running underJSERV
Mark Edgington wrote:
>
> Problem with UploadServlet Running underJSERV
>
> I have noticed there have been a number of fixes have been made to the
> MultipartRequest class that Jason's Servet Uses. However, i still get
> an error when the file attempting to upload exceeds the set file size
> limit.
> The error is thrown correctly and i can write it out to a file, but
> you can't send antything to the browser.
>
> The error in the serve logs is as follows:
>
> Premature end of script headers: /development/UploadTest
>
> Any ideas would be most welcome.
I've seen this reported by a few other people using JServ. The same
situation works fine on other engines including Sun's reference
implementation, which makes me think it's a JServ issue. Someone
more familiar with JServ will have to take a look to be sure.
In the meanwhile, are you catching the IOException thrown by the class
in your servlet? If not, you're counting on JServ to do something
intelligent with the exception and that may not be happening. If you
are catching the IOException, then try to figure out if your catch is
actually catching.
-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, 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