posted 16 years ago
HI all,
I have few Checkboxes,
<html:checkbox name="chk_CMA"value="on">
and
in my bean i have
public boolean chk_CMA;
public boolean isChk_CMA() {
return chk_CMA;
}
public void setChk_CMA(boolean b) {
chk_CMA = b;
}
and in my database insert query i check if it is checked then insert the value, It is inserting the value. and when the page is returnback, all the check box values are lost (checked ones becomes vanished).
Kindly help in solving the issue. i would like to retain the checked ones
Thanks
Rudresh