Hi Dave,

Thanks for your answer.
I know that getParameters().get("myParamater") returns an array of objects,
but isn't it supposed to return not only String[], but arrays of Objects
depending on the type described (if described) for the parameter through
getter and setter in the action : if getId() returns an Integer, why doesn't
getParameters().get("id") return an array of Integer, instead of an array of
String? Is it the "normal" behavior? I'm confused because depending on the
way that I get the value of a parameter, I don't get the same type (Integer
vs String)...
Am I wrong?

On 1/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:

From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> [...] when I use getParameters().get("id"), I receive a String[]...

"getParameters" is plural; it returns as many "id"s as it can in an array,
even if there's just the one.

Dave

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


Reply via email to