Struts html:checkbox query

Posted by sarah on Stack Overflow See other posts from Stack Overflow or by sarah
Published on 2010-04-20T13:40:59Z Indexed on 2010/04/20 13:53 UTC
Read the original article Hit count: 160

Filed under:
|

Hi All,

i have the following code .

     <td> <html:checkbox name="userForm" property="isActive" /></td>

and in Form is have property called isActive of type char ,how would i get the checked value of it ,i am getting some symbols like 'o' if checked.

I am using userform.getIsActive() ,where i am going wrong .I want 'y' or 'n' values

© Stack Overflow or respective owner

Related posts about java

Related posts about struts