xinhu1300 发表于 2015-8-9 08:42:42

tomcat的上传限制

  http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
  
  
  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节中加入maxPostSize="0"
页: [1]
查看完整版本: tomcat的上传限制