Hi friends,
Today I learnt about a bug in struts version 1.2
The checkbox bug :- Its quite famous among struts framework related programmers :-
The bug is that
if you uncheck a checkbox and submit a form, then the corresponding field in the targeted bean (the one in which form elements will be filled) will not be altered and hence, the next time you try to get back the data, you will have the discrepancy of a checked check-box (you will get it checked when you were expecting it to be unchecked).
This is due to the fact that, internally struts 1.2 has a setter method only if the checkbox is checked and not when its unchecked.
Googling about this may help resolve your additional doubts.