Jetty9 Request Form form too small limit

Source: Internet
Author: User

Error: Java.lang.IllegalStateException:Form too large:201975 > 200000

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/84/78/wKioL1eRi0Dz9xaHAABen31k7oo158.png-wh_500x0-wm_3 -wmp_4-s_2387984997.png "title=" request form restriction "alt=" Wkiol1eri0dz9xahaaben31k7oo158.png-wh_50 "/>

Solve:

VI Jetty.xml

<configure id= "Server" class= "Org.eclipse.jetty.server.Server" >

Add the following code below the server line

<!--Guowang Add-to

<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>


Reference:

http://blog.csdn.net/lj_6891zz/article/details/40341951

Http://www.tuicool.com/articles/ryiA3y

http://blog.csdn.net/madding/article/details/6759603

Jetty9 Request Form form too small limit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.