I have few checkboxes in my jsp, intially it is unchecked and after the user checks , the values are there and stored in database too, it is working fine no issues
But when a user checks the check box and again unchecks it, now after submitting the page the user can see that the check box is still checked, which he had unchecked earlier.
This is built on struts and i have formbean where in i put all the form values (get/set methods) and this is in session scope. I had tried various options like reset method and others suggested in net, but could not find a solution,
I request some one can help me out on this
posted 8 years ago
My questions would be about what code is being executed when the user submits the page and how the page is redisplayed. I suggest that you post your action mappings, action class, form class and relevant jsp code.