Explorar el Código

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

zzy.zhiyuan.foxmail %!s(int64=8) %!d(string=hace) años
padre
commit
89458f25ad
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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>