Hi Gabriel, I just wanted to say that I ended up putting instance variables with getters/setters for the request parameters (as you suggested). I wasn't aware they auto-binded like that.
Thanks for your response. Dustin. On Wed, Apr 16, 2008 at 4:55 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > 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¶m2=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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]