Issue:
WARNING: Parameters: Invalid chunk '=true' ignored. is getting logged in the web application.
We have a web application developed using Spring, Struts2 & hibernate framework.
When we navigate from one tab to another tab within the application we get the below message logged in the log file.
We have used the log4j for logging information within the application.
The warning message in the log file is mentioned below.
May
29, 2013 9:18:34 AM org.apache.tomcat.util.http.Parameters processParameters
WARNING:
Parameters: Invalid chunk '=true' ignored.
Resolution:
This message was logged in our application because we didn't have the name attribute for a hidden field.
code snippet that cased the warning message:
<s:hidden id = "testid" value="true"></s:hidden>
to fix, we added the name attribute to this tag as
<s:hidden id="testid" name="testid" value="true"></s:hidden>
Though this is a warning message, sometime we don't want this warning message to be logged. The above solution can be applied.
refer the below link also for more explanation.
