You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Halverson <ch...@ncube.com> on 2000/12/08 22:28:21 UTC

RE: multipart requests and file uploads problems on the Apache c onnection

NT4.0, Solaris 2.6 and Solaris 2.8 work fine too as you would expect.

> -----Original Message-----
> From:	Josh Knowles [SMTP:Josh.Knowles@worldwidepackets.com]
> Sent:	Friday, December 08, 2000 2:15 PM
> To:	'tomcat-user@jakarta.apache.org'
> Subject:	RE: multipart requests and file uploads problems on the
> Apache c  onnection
> 
> Java is Java no matter what OS you are running on.  I have used the
> multipart on both RedHat 6.2 and Win2k with no problems.
> 
> -----Original Message-----
> From: Jose Euclides da Silva Junior - DIGR.O
> [mailto:jose.euclides@rj.previdenciasocial.gov.br]
> Sent: Friday, December 08, 2000 1:57 PM
> To: tomcat-user@jakarta.apache.org
> Subject: RES: multipart requests and file uploads problems on the Apache
> c onnection
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> Even in NT environment? Thank you.
> 
> 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:		Josh Knowles [SMTP:Josh.Knowles@worldwidepackets.com]
> Enviada em:		Sexta-feira, 8 de Dezembro de 2000 18:45
> Para:		'tomcat-user@jakarta.apache.org'
> Assunto:		RE: multipart requests and file uploads problems on
> the Apache c  onnection
> 
> I have had no problems mixing the two
> 
> - -----Original Message-----
> From: Jose Euclides da Silva Junior - DIGR.O
> [mailto:jose.euclides@rj.previdenciasocial.gov.br]
> Sent: Friday, December 08, 2000 12:20 PM
> To: tomcat-user@jakarta.apache.org; allsetbv@webmind.nl
> Subject: RES: multipart requests and file uploads problems on the Apache
> c onnection
> 
> 
> 
> *** PGP Signature Status: bad
> *** Signer: Jose Euclides Jr <jo...@rj.previdenciasocial.gov.br> 
> *** Signed: 08/12/00 16:10:50
> *** Verified: 08/12/00 17:46:20
> *** BEGIN PGP VERIFIED MESSAGE ***
> 
> Hi, everybody! Unfortunately, it seems that there is an important
> limitation
> when  using Jason's components. The developer cant mix text fields and
> file
> setting fields in the form!
> Good luck,
> 
> 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:		Joe Laffey [SMTP:joe@laffeycomputer.com]
> Enviada em:		Quinta-feira, 7 de Dezembro de 2000 13:50
> Para:		tomcat-user@jakarta.apache.org; allsetbv@webmind.nl
> Assunto:		Re: multipart requests and file uploads problems on
> the Apache connection
> 
> Take a look at the multipart classes by Jason Hunter that are free for use
> if you own the book "Java Servlet Programming" from O'Reilly. The code can
> be downloaded from O'Reilly's site www.ora.com
> 
> I have only had one problem with it, and I think I have coded around it.
> The problem was that sometimes uploads from MSIE 5.01 Win do not send the
> boundary correctly (it varies by two characters everytime).
> 
> 
> Joe Laffey
> LAFFEY Computer Imaging
> St. Louis, MO
> - -------------------------
> With no walls or fences on the Internet, who needs Windows or Gates?
> - ---------------------------------------------------------------------
> 
> *** END PGP VERIFIED MESSAGE ***
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.1
> 
> iQCVAwUBOjFzD90YhuJ3BUxtAQHrWwP+Maxhw3z2IBXwKg6J2DQdMlZGkwPVuJDN
> d9CcksGgRHSaHR53p79VkXzceTC9acNITocFfiowpONKYhQOStGnQ/31fDFXMfbE
> NBksfaubs8rUKf1TipRHvU9AVkTmI6mf7BuzI4ycmqKsanbLDMEM9TSG4CjG6PAp
> McRn2ZG88hI=
> =/TtX
> -----END PGP SIGNATURE-----

Re: multipart requests and file uploads problems on the Apache c onnection

Posted by Steve Ruby <st...@rubysolutions.com>.
I agree, works fine for me, make sure you are trying to read the
non-file parameters with the multipart reader and not just with the
method from Tomcat.. Once the user sends the mime post the whole
thing is mime not just the file...


> Chris Halverson wrote:
> 
> NT4.0, Solaris 2.6 and Solaris 2.8 work fine too as you would expect.
> 
>      -----Original Message-----
>      From:   Josh Knowles [SMTP:Josh.Knowles@worldwidepackets.com]
>      Sent:   Friday, December 08, 2000 2:15 PM
>      To:     'tomcat-user@jakarta.apache.org'
>      Subject:        RE: multipart requests and file uploads problems
>      on the Apache c  onnection
> 
>      Java is Java no matter what OS you are running on.  I have used
>      the
>      multipart on both RedHat 6.2 and Win2k with no problems.
> 
>      -----Original Message-----
>      From: Jose Euclides da Silva Junior - DIGR.O
>      [mailto:jose.euclides@rj.previdenciasocial.gov.br]
>      Sent: Friday, December 08, 2000 1:57 PM
>      To: tomcat-user@jakarta.apache.org
>      Subject: RES: multipart requests and file uploads problems on the
>      Apache
>      c onnection
> 
>      -----BEGIN PGP SIGNED MESSAGE-----
> 
>      Even in NT environment? Thank you.
> 
>      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:             Josh Knowles
>      [SMTP:Josh.Knowles@worldwidepackets.com]
>      Enviada em:             Sexta-feira, 8 de Dezembro de 2000 18:45
>      Para:           'tomcat-user@jakarta.apache.org'
>      Assunto:                RE: multipart requests and file uploads
>      problems on
>      the Apache c  onnection
> 
>      I have had no problems mixing the two
> 
>      - -----Original Message-----
>      From: Jose Euclides da Silva Junior - DIGR.O
>      [mailto:jose.euclides@rj.previdenciasocial.gov.br]
>      Sent: Friday, December 08, 2000 12:20 PM
>      To: tomcat-user@jakarta.apache.org; allsetbv@webmind.nl
>      Subject: RES: multipart requests and file uploads problems on the
>      Apache
>      c onnection
> 
>      *** PGP Signature Status: bad
>      *** Signer: Jose Euclides Jr
>      <jo...@rj.previdenciasocial.gov.br>
>      *** Signed: 08/12/00 16:10:50
>      *** Verified: 08/12/00 17:46:20
>      *** BEGIN PGP VERIFIED MESSAGE ***
> 
>      Hi, everybody! Unfortunately, it seems that there is an important
>      limitation
>      when  using Jason's components. The developer cant mix text
>      fields and file
>      setting fields in the form!
>      Good luck,
> 
>      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:             Joe Laffey [SMTP:joe@laffeycomputer.com]
>      Enviada em:             Quinta-feira, 7 de Dezembro de 2000 13:50
> 
>      Para:           tomcat-user@jakarta.apache.org;
>      allsetbv@webmind.nl
>      Assunto:                Re: multipart requests and file uploads
>      problems on
>      the Apache connection
> 
>      Take a look at the multipart classes by Jason Hunter that are
>      free for use
>      if you own the book "Java Servlet Programming" from O'Reilly. The
>      code can
>      be downloaded from O'Reilly's site www.ora.com
> 
>      I have only had one problem with it, and I think I have coded
>      around it.
>      The problem was that sometimes uploads from MSIE 5.01 Win do not
>      send the
>      boundary correctly (it varies by two characters everytime).
> 
>      Joe Laffey
>      LAFFEY Computer Imaging
>      St. Louis, MO
>      - -------------------------
>      With no walls or fences on the Internet, who needs Windows or
>      Gates?
>      -
>      ---------------------------------------------------------------------
> 
>      *** END PGP VERIFIED MESSAGE ***
> 
>      -----BEGIN PGP SIGNATURE-----
>      Version: PGP 6.5.1
> 
>      iQCVAwUBOjFzD90YhuJ3BUxtAQHrWwP+Maxhw3z2IBXwKg6J2DQdMlZGkwPVuJDN
>      d9CcksGgRHSaHR53p79VkXzceTC9acNITocFfiowpONKYhQOStGnQ/31fDFXMfbE
>      NBksfaubs8rUKf1TipRHvU9AVkTmI6mf7BuzI4ycmqKsanbLDMEM9TSG4CjG6PAp
>      McRn2ZG88hI=
>      =/TtX
>      -----END PGP SIGNATURE-----