Hi All,

I am facing a very unusual problem while attempting to upload files using
com.oreilly.servlet.multipart.MultipartParser.
I have set the maximum file size allowed for a file upload as 5MB.
I planned to restrict larger files from being uploaded, by catching the IOException 
thrown
by the MultipartParser when it sees a file of a larger size in the post request.
Eventhough the exception is thrown by the parser and is caught in the servlet, before 
it can
be displayed, a second POST request hits the servlet and it continues with processing 
the remaining
portion of the request and the final exception that is ultimately thrown is :
java.io.IOException: unexpected end of part.

Could any one throw light as to why the double post would occur ?
I am using bea Weblogic 6.1.
This error was not occurring in Tomcat 4.0.

Thanks in advance

SK

___________________________________________________________________________
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