您的位置:首页 > 运维架构 > Tomcat

关于tomcat不同版本的maxPostSize

2017-03-06 14:21 429 查看
tomcat7.0.63之前:

maxPostSizeThe 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).
设置为0和负数均可以代表不限制

tomcat7.0.63(包含)之后:

maxPostSizeThe 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 zero. If not specified, this attribute is set to 2097152 (2 megabytes).
不可以设置为0,只能是负数代表不限制
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  tomcat 配置文件