mabuzer mabuzer - 4 months ago 12
Java Question

HttpRequest maximum allowable size in tomcat?

What's the maximum data size I can send in single

?Is there any limitation for request size?


The connector section has the parameter


The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit can be disabled by setting this attribute to a value less than or equal to 0. If not specified, this attribute is set to 2097152 (2 megabytes).

Another Limit is:

maxHttpHeaderSize The maximum size of the request and response HTTP header, specified in bytes. If not specified, this attribute is set to 4096 (4 KB).

You find them in