Browse Source

jetty服务器上传文件大小限制的配置

zzy.zhiyuan.foxmail 8 years ago
parent
commit
89458f25ad
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/webapp/WEB-INF/jetty-web.xml

+ 6 - 0
src/main/webapp/WEB-INF/jetty-web.xml

@ -0,0 +1,6 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"  
3
  "http://jetty.mortbay.org/configure.dtd">  
4
  <Configure id="WebAppContext" class="org.eclipse.jetty.webapp.WebAppContext">  
5
          <Set name="maxFormContentSize" type="int">0</Set>  
6
  </Configure>