struts Implementation-Version: 1.2.7
I use javascript to submit a form and in the reset method of the ActionForm, I check the request.getParameter("xxx") and found that they are null.
But when I check the same parameter in execute method of Action, it can show correctly, that is, request.getParameter("xxx") != null, what is the reason?
what I want to do is detect the checked status of a checkbox (let say ck1), if it is unchecked, the request parameter
"ck1" should be null, if it is checked, the request parameter "ck1" is not null, but I found request.getParameter("ck1") is always null in reset method of actionForm, so what is the correct method to implement it?