I avoid runtime expressions and scriplets as much as I can:
<c:forEach values="myList" item="var" varStatus="status">
<c:choose>
<c:when test="${ (status.count % 2) == 0 }">
<%-- White BG --%>
<tr class="rowEven">
...
</c:when>
<c:otherwise>
<%-- Grey BG --%>
<tr class="rowOdd">
...
</c:otherwise>
<td>...</td>
</tr>
</c:choose>
</c:forEach>
Y'all would do well to use the JSTL where you can. The documentation
for the Struts taglibs even says that.
--
Eddie Bush
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]