On Thu, Mar 18, 2010 at 11:07 PM, Kusuma Haranath Atmakuri <haranat...@yahoo.com> wrote: > <s:if test="%{#parameters['paramName'][0] =='paramValue'}"> > > Thanks a lot! This worked! "parameters['paramName']" returns an array? > >
Yeah, it's a bit of a pain sometimes, but there is nothing that stops someone from writing html like this - <form ...> <input name="foo" value="" type="text" /> <input name="foo" value="" type="text" /> </form> In this case, you can retrieve all of the values submitted for "foo" as an array. It's just one of those details people sometimes forget when you get away from dealing directly with request parameters. -Wes -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org