Why not just put the lists in a map or collection?
Dave On May 21, 2011 7:21 PM, "inception" <incepti...@in.com> wrote: > Hi... > > > I want to hold a unique names for the <s:select ----/> tags during its loop. > for example: > **************************************************** > <s:iterator value="xyz" status="stat"> > <s:select name="a" > list="test<s:property value="#stat.count" /> > </s:iterator> > ****************************************************** > in each iteration attribut "list" value should be changed to test[followed > by iteration count] > > so that at the end of iteration i get like > > <s:select name="a" > list="test1" > </s:iterator> > <s:select name="a" > list="test2" > </s:iterator> > <s:select name="a" > list="test3" > </s:iterator> and so on.. > > > > > > > -- > View this message in context: http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >