This has been a pretty common topic lately. Since I am one of the last people to ask a similar question, I thought I would share.
* Tomcat 3.2 final has a bug that garbles multi part streams. (Fix is planned in 3.2.2, workaround available - see the last few days of list topics).
* Prebuilt packages for handling most of the work exist from Both Sun (Java Web Server 2.0 examples), and Oreilly (http://java.oreilly.com/).
* Using multi part streams for binary data (such as file uploads) is possible and does work with Tomcat (quite well and better than ASPUpload might I add)
Best of Luck,
Joel Kozlow
> -----Original Message-----
> From: Muehlmann, Fred [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 14, 2000 11:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: multipart/form-data problem
>
>
> I'm trying to send Tomcat a "POST" with an
> enctype="multipart/form-data".
> This is for uploading a combination of form data and binary
> files. Tomcat
> doesn't appear to take this type. Netscape reports "A network error
> occurred while sending data. (Network Error: Connection
> aborted)". I can
> talk to the servlet if I'm not doing an enctype of
> multipart/form-data.
> I've written the Java servlet to handle this and it has been
> functioning
> perfectly using Sun's Java Web Server 2.0. The only possible
> difference
> with the code should be where Tomcat will attempt to put the
> uploaded file,
> but I'm not even getting that far. Anybody do this before
> with Tomcat?
>
> Thanks,
> Fred Muehlmann
> [EMAIL PROTECTED]
>
