Right, request parameters are String/value pairs, but because Struts2 can
convert these parameters to the right type through the getters/setters
described in the action, I was wondering if this could be possible to do the
same for the Map of parameters that I get through getParameters(). In this
c
From: Sébastien LABEY [mailto:[EMAIL PROTECTED]
> 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 sett
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
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
---
Hi all,
I've experienced something that I think strange, but I would like to know if
it is a normal behavior.
I'm using Struts 2.0.1 with the default interceptors configuration.
I have a generic Action that implements ParametersAware (and
ServletRequestAware and SessionAware) and I have the gette
5 matches
Mail list logo