Can you simplify this and how can i use this in Struts 2
<s:iterator value="listObject">
<s:component template="abc.vm">
<s:param name="text" value="listValueObject" />
<s:param name="prefix" value="listIndexObject" />
</s:component>
</s:iterator>
i want to iterate over a list