struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Rodrigues <>
Subject <s:checkbox> returns an String[] when is checked!
Date Wed, 11 Apr 2007 12:48:20 GMT

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
Does somebody knows why I got this behavior?


View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message