You can of course set up instance variables in your action class with
identical names as the parameters you intend to use.

2008/4/16, Dustin S. <[EMAIL PROTECTED]>:
> I noticed the the map for setParameters is <String, String[]>. If I
> intend to always only use [0], is there any easy way to accomplish
> this without having to do [0] everytime I get() a parameter from the
> map? I noticed there is SingleValueMap in webwork for this purpose.
> Does something exist like this in Struts 2 or possibly is there any
> easier way to get params from a url (page?parm1=value1&param2=value2)
> that I am not seeing?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to