Let's see the code that is sending the file to the various
locations. I suspect you need to synchronize access to the
buffer holding the file to keep threads from trying to send it
before a previous thread is through.
Cheers!
Mark
----- Original Message -----
From: "Manish Bhatnagar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 31, 2001 1:38 AM
Subject: Uploading files in succession to the Web-server
> Hello all,
> I have a servlet that uses O Reilly's MultiPartRequest class to
upload a
> file to the Web-server. When the servlet uploads one file, it
works fine.
> But when the same servlet is made to upload the same file to
different
> locations, I get the following exception:
> java.io.IOException: corrupt form data
>
> * I am using Tomcat 3.2.1 on Windows 98
>
> Any hints/ideas why is that happening?
> Thanks.
> Manish Bhatnagar
>
>
_________________________________________________________________
__________
> 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