I have an s:iterator tag like the following
<s:iterator value="results">
<s:property value="someIntValue"/>
</s:iterator>
At the end of this loop i want the total of someIntValue. In plain java I would do something like this
variable += someIntValue
but can this be done inside the struts2 tag? I looked at documentation for s:set tag but was not able to figure out how to achieve this.