According to Tomcat docs:
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).
But what’s “the container FORM URL parameter parsing”? Any ideas what is the purpose of “maxPostSize”?
Thanks in advance.
Its a set limit on where to stop parsing the POST. Just in case some hacker decides to start sending a request with POST data and just continuously sending POST data. Tomcat won’t just take forever parsing POST. Having the limit prevents a denial of service attacks. (They keep doing this until your server maxes stops responding for whatever reason)