Sunday, April 19, 2009

Alternating row colors using Struts2
<s:iterator value="results" status="status">
<s:if test="#status.odd">
<tr bgcolor="#F8ECE0">
</s:if>
<s:else>
<tr>
</s:else>

No comments: