i already solved it..
i hope this help other new struts user

just replaced it with this one..

<s:checkbox name="userId" fieldValue="%{getUserId()}"/>  



carmi_cd wrote:
> 
> hello
> i have a checkbox which supposed to have the value of UserId property of
> the action class
> I try to do it this way but its having an exception..
> 
> here is how i've done it..
> <input name="chkUserId"  type="checkbox"  value="<s:property
> value="%{getUserId()}"/> />   
> 
> and here is the exception..
> 
> Unexpected Exception catched: Error setting expression 'chkUserId' with
> value '[Ljava.lang.String;@104496b'
> 
> please help me..thanks in advance..
> 

-- 
View this message in context: 
http://www.nabble.com/-S2-Checkbox-value-tp14291211p14332370.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to