Websphere,request maximum parameter limit, max_param_per_request

Source: Internet
Author: User
Tags websphere application server

*

Encountered once, struts2,action the list to the JSP page display, and then made the changes from the JSP page back to the action,

There are more than 10,000 data, and errors are always committed, such as:

Find the Jar:/ibm/websphere/appserver/plugins/com.ibm.ws.webcontainer.jar in Requestutils.java

Anti-compilation found that there is a limit of the maximum parameters per REQUEST is 10,000, max_param_per_request=10000;

It is true, because I submitted 8 other scattered parameters, more than 11,600 data composed of a list of the collection only to 9,992, exactly 10,000;

Solution One:

Avoid the large amount of data sent by the page;

Solution Two:

If not, you can customize the properties for WebSphere: (below from online)

1 in the administration console, click server > Server type > WebSphere Application Server > Server_Name > web container Settings > Web container.
2. Under "Additional Properties", select Custom properties.
3. On the Custom Properties page, click New.
4. On the Settings page, on the
Name: Com.ibm.ws.webcontainer.maxparamPerrequest (this should all be lowercase, decompile jar)
Value: 1 (-1 for Infinity)
5. Click Apply or OK.
6. Click Save on the console task bar to save the configuration changes.
7. Restart the server.

**

Local use of Tomcat test, do not error, but also uploaded to the background 9,992 data, the latter will not be taken, is it also limited in Tomcat?

*

Websphere,request maximum parameter limit, max_param_per_request

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.