Hi guys,

I'm using ActionContext.getContext().getParameters().get("checkboxName"); to
get a value from a checkbox in my jsp.
The problem here is, when its value is false, works fine, I got an String.
But when my checkbox is checked and I call this same method, I got a
String[] and as you know, if I cast from String[] to String I got an cast
exception.
Does somebody knows why I got this behavior?

Thanks,

Felipe
-- 
View this message in context: 
http://www.nabble.com/%3Cs%3Acheckbox%3E-returns-an-String---when-is-checked%21-tf3559152.html#a9938814
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