File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes HTTP POST maximum size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "HTTP POST maximum size" Watch "HTTP POST maximum size" New topic
Author

HTTP POST maximum size

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

I know that a HTTP GET url has some maximum length possibly constrained by the browser url textbox or the Apache/Tomcat's server limit.

Is there a configuration in Tomcat to limit the size of HTTP POSTs ?

Thanks

Pho


Regards,

Pho
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12678
    
    5
Short answer NO
In SOAP applications people POST multiple megabyte data streams.
I suppose you could have your servlet look for the Content-length header and close the connection if it is too large.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP POST maximum size
 
Similar Threads
how can we restrict no of user to get Connection object dynamically?
Dynamically getting the height of the image
Array Maximum Size?
newbie in jsp
How to overcome OutOfMemory exception?