I have "<html:checkbox property="selectedCheckBox" value="msgId"/>" in my
JSP here are the respective getter/setter methods for this
private boolean selectedCheckBox= false;
public boolean isSelectedCheckBox() {
return selectedCheckBox;
}
/**
* @param selectedCheckBox The selectedCheckBox to set.
*/
public void setSelectedCheckBox(boolean selectedCheckBox) {
this.selectedCheckBox = selectedCheckBox;
}
When I try to get the value of checkbox(when used checked from JSP) in my action class It always return fase whether it is checked or unchecked
Can someone help on this.
-santosh
[ May 01, 2006: Message edited by: Santosh Maskar ]