I got a strange (and probably) wrong behaviour here. I was trying to put a checkbox on the page, and you know it: unchecked checkboxes are not written to the request (only checked boxes are)
What struts normally offers is to override:
@Override
public void reset(ActionMapping mapping, ServletRequest request)
to reset all the checkboxes to "false". But in my case, this reset() is never called!
Someone got an idea?
Thanks in advance,
mana
The correct method signature to override is
public void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With