I have a jsp page,and there is a button in it,when I click this button,it will call Javascript,and redirect another page,my code is follows: ... functioin test(){ document.forms[0].action="a.do"; document.forms[0].submit(); } ... <s:form> <table> <td><a href="javascript:test()" >Test</a></td> </tr> </table> </s:form> ...
When I run above page,it can redirect the page successly,but Tomcat6 say "Warn:Parameters: Invalid chunk ignored",why raise above warning information,why to correct my code to get rid of this warning? Thanks!