Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
CHECKBOX onclick submission from struts
Hi. I have a small question to ask:
I am using struts with the Jsp page, and I am using the struts' HTML library.
So, having the following code:
When the check box is not checked initially, the form gets subitted fine, the check box gets checked and everything that has to happen happens.
However, when the check box is initially checked and want to uncheck it, and on this unchecking I want the form to get submitted with the knowledge that a checkbox was cleared, THIS DOESN'T HAPPEN.
I found out that this is a common web problem - not just a JSP or struts'. I also heard that there is some way to mitigate this by using some kind form's reset() method of the Struts API, or something .. I am not clear on what it is and how to go about this. I'll greatly appreciate the help in this matter.
0 · ·