Hi, in my jsp, i have an array of ids and i will like to remove one of that ids using s2 tags: I have tried the following, but it doesn't work :( <s:set name="allIDs" value="#parameters.productCode"/>
<s:set name="newID" value=""/> <s:iterator value="#allIDs" status="stat"> <s:set name="myID" value="top"/> <s:if test='%{ idToRemove != #myID }'> <s:set name="newID[#stat]" value="#myID"/> </s:if> </s:iterator> Does anyone know how to do it ? thanks. Ezequiel.