标签:jetty
报错:java.lang.IllegalStateException: Form too large: 201975 > 200000
解决:
vi jetty.xml
<Configure id="Server" class="org.eclipse.jetty.server.Server">
在Server这行下面增加以下代码
<!-- guowang add -->
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormContentSize</Arg>
<Arg>-1</Arg>
</Call>
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.Request.maxFormKeys</Arg>
<Arg>-1</Arg>
</Call>
参考:
http://blog.csdn.net/lj_6891zz/article/details/40341951
http://www.tuicool.com/articles/ryiA3y
http://blog.csdn.net/madding/article/details/6759603
标签:jetty
原文地址:http://guowang327.blog.51cto.com/6513732/1828714