tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Euclides da Silva Junior - DIGR.O" <jose.eucli...@rj.previdenciasocial.gov.br>
Subject RES: multipart/form-data problem
Date Mon, 18 Dec 2000 14:41:56 GMT
-----BEGIN PGP SIGNED MESSAGE-----

Hi everybody,
i am using tomcat 3.1 and multipart/form-data works fine with oreilly'
components. Are you using it? If yes, It seems to be stupid hint, but try a
downgrade!

Regards,
José Euclides Júnior
__________________________________
E-mail: jose.euclides@rj.previdenciasocial.gov.br
            javabrasil@usa.net 
            bl1link@usa.net
http://euclides.8m.com


- -----Mensagem original-----
De:		jokozlow [SMTP:joel_kozlow@poptarantula.com]
Enviada em:		Quinta-feira, 14 de Dezembro de 2000 19:42
Para:		'tomcat-user@jakarta.apache.org'
Assunto:		RE: multipart/form-data problem

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:Fred.Muehlmann@PacifiCorp.com>] 
> Sent: Thursday, December 14, 2000 11:59 AM 
> To: 'tomcat-user@jakarta.apache.org' 
> 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 
> fred@pacificorp.com 
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1

iQCVAwUBOj48CN0YhuJ3BUxtAQGSGgP9Hlcy2ZkrErJrLmxhCpr65XGmUhQ6EXOz
zuZQgUaV9JN0BdP9/l313m/vi+Yi0OxylvuU02nfp07nRRcmdl3ld5qmHeXouCJs
rXhgCQhCm3sUye/Bw+T0Fr9sAeuU+YE4t8Bm9ueResQw/Ge4TgKNkFVGYDgV5nTW
bthVswPkPmw=
=tiTO
-----END PGP SIGNATURE-----

Mime
View raw message