ajax的post提交参数长度超出限制的解决办法

解决方案四:

tomcat server.xml 发现设置了maxPostSize="1024" 这个参数

     <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443"  maxPostSize="0"/>
    <!--tomcat:默认大小2097152,当maxPostSize=0时,不限制;maxPostSize=20971520时,为20M-->  
---------------------

原文地址:https://www.cnblogs.com/smallfa/p/11285450.html