tomcat post请求大小设置
2014-06-09 12:56
253 查看
【转】Tomcat Post请求大小设置
根据官方文档http://tomcat.apache.org/tomcat-6.0-doc/config/http.html,我们可以看出,tomcat6在默认状态下最大的post请求是2M
maxPostSize
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).
如果需要修改的,就需要找到server.xml文件
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" maxPostSize="0" />
maxPostSize: 0 表示不限制
其中单位为:byte
自己看着算。
根据官方文档http://tomcat.apache.org/tomcat-6.0-doc/config/http.html,我们可以看出,tomcat6在默认状态下最大的post请求是2M
maxPostSize
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).
如果需要修改的,就需要找到server.xml文件
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" maxPostSize="0" />
maxPostSize: 0 表示不限制
其中单位为:byte
自己看着算。
相关文章推荐
- Tomcat下post请求大小设置
- Tomcat设置maxPostSize导致Post请求不过去
- tomcat默认限制post请求参数大小
- Tomcat限制post请求文件上传大小
- Tomcat 9 设置 maxPostSize="0" Post 请求丢失问题修复
- 设置TOMCAT的JVM虚拟机内存大小
- Tomcat在处理GET和POST请求时产生的乱码问题
- Tomcat在处理GET和POST请求时产生的乱码问题
- Tomcat在处理GET和POST请求时产生的乱码问题
- 设置TOMCAT的JVM虚拟机内存大小
- netbeans启动tomcat的jvm堆栈大小设置
- tomcat 设置缓存大小
- 如何设置TOMCAT的JVM虚拟机内存大小
- myeclipse中tomcat内存大小的设置
- eclipse中启动tomcat设置tomcat内存大小
- 如何设置Tomcat的JVM虚拟机内存大小
- netbeans启动tomcat的jvm堆栈大小设置
- JVM堆栈大小设置--TOMCAT
- 在eclipse中启动tomcat如何设置tomcat内存大小?
- java运行时设置分配内存大小,及tomcat启动时的所分配内存大小