tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Cannot read httpservlet's inputstream
Date Tue, 07 Apr 2009 19:59:02 GMT
André Warnier wrote:
> Despite what you may wish and what you may have found in Google, I
> believe that if you want to send a file, you have to do it with a
> "multipart/form-data" content type.

Nope. That is just plain wrong.

> Sections 9.5 (POST) and 9.6 (PUT) describe the two methods that allow
> you to upload a file.  But 9.6 is not applicable, since you are sending
> this to a webapp, not directly to a URI.

Wrong again. PUT is disabled by default for security reasons but it is
valid and is supported by the default servlet.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message