I just found an ugly solution : <ul> <s:iterator value="breadcrumbs"> <s:iterator status="stat"> <s:if test="#stat.index==0"> <s:set name="text"><s:property /></s:set> </s:if> <s:else> <s:set name="url"><s:property /></s:set> </s:else> </s:iterator> <li><a href="${url}">${text}</a></li> </s:iterator> </ul>
2010/5/11 Thomas Lulé <tho...@lule.fr>: > Hi, > > I've got an ArrayList<String[]> named "breadcrumbs" in my action that > I would like to display in my JSP. > > Something like : > <ul> > <s:iterator value="breadcrumbs"> > <li><a href="${value[1]}">${value[0]}</a></li> > </s:iterator> > </ul> > I want to iterate over the ArrayList, then get the two values of the > array, but this code obviously doesn't work. > > Do you have any better idea ? > > Thank you, > Thomas > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org