Maximum number of parameter passed in a post

后端 未结 5 1376
长情又很酷
长情又很酷 2020-12-05 19:40

I get this error:

Exception during request processing:
Caused by javax.servlet.ServletException with message:
\"Parameter count exceeded allowed maximum: 512         


        
5条回答
  •  时光说笑
    2020-12-05 20:00

    You need to paste the following snippet in your standalone.xml of Jboss server :

    
                    
                    
                    
                        
                        
                        
                        
                    
    

    Focus on HTTP Listener tag with max-parameter value is what make the difference. The Default value for this field is:-

    org.apache.tomcat.util.http.Parameters.MAX_COUNT=1000
    

    This was done as a remedy to the hashmap collision denial of service attack as discussed here

提交回复
热议问题