1. 程式人生 > >Tomcat設定post和get最大提交量

Tomcat設定post和get最大提交量

    <Connector port="8080"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"  <span style="color:#cc0000;">maxParameterCount="-1" maxPostSize="0"</span>
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000" 
               disableUploadTimeout="true" URIEncoding="GBK" />
<span style="color:#cc0000;">maxParameterCount="-1" get最大值</span>
<span style="color:#cc0000;">maxPostSize="0" post最大值</span>