Tomcat对post请求参数的限制
一般情况下,tomcat默认对请求参数长度有限制官方的解释是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).
如果不想让tomcat不做限制那么设置<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" maxPostSize="0"/>让tomcat不对post参数做限制
浙公网安备 33010602011771号