jboss7在哪里配置maxPostSize参数?
如题,着急。。。。。。。。。。。。。。
------解决方案--------------------<Connector port="80" address="0.0.0.0"
maxThreads="250" maxPostSize="0"maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="GBK" />
参考:http://www.it-waibao.com/IToutsourcing/wangluokaifa/jsp/100_525_25717.html
------解决方案--------------------找到${JBOSS_HOME}/server/default/deploy/jboss-web.deployer/server.xml这个文件
<Connector port="80" address="0.0.0.0" maxPostSize="0"
maxThreads="250" maxHttpHeaderSize="8192"
emptySessionPath="true" protocol="HTTP/1.1"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"
useBodyEncodingForURI="true" />
其中可以对maxpostsizej进行设置