tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
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.

> http://www.faqs.org/rfcs/rfc2616.html
> 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.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message