post提交上来的参数,有部分丢失了。经过一番查证,有资料说,Tomcat的server.xml中有一个maxPostSize属性,默认是2M。于是将其值显式置为0(不对post提交的大小做限制)。
<Connector maxParameterCount="-1" URIEncoding="utf-8" connectionTimeout="20000"
port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
post提交上来的参数,有部分丢失了。经过一番查证,有资料说,Tomcat的server.xml中有一个maxPostSize属性,默认是2M。于是将其值显式置为0(不对post提交的大小做限制)。
<Connector maxParameterCount="-1" URIEncoding="utf-8" connectionTimeout="20000"
port="8080" protocol="HTTP/1.1" redirectPort="8443"/>