Hi Seema,

        I apology, I do not know how to help you, but I hope you could help
me in fixing my problem.

I need to create a multipart document... Can you tell me where to
download the appropriate class file?

Thanks

Simone

-----Messaggio originale-----
Da: Seema Kumar [mailto:[EMAIL PROTECTED]]
Inviato: marted́ 14 gennaio 2003 10.47
A: [EMAIL PROTECTED]
Oggetto: File upload - Double post problem


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


This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the sender 
immediately and delete the original. Any other use of the email by you is prohibited.


°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
su www.tim.it puoi conoscere le tariffe internazionali e i paesi in roaming.
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

___________________________________________________________________________
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