<s:if test="#index.odd==true"> <tr style="background-color: #cccccc"> </s:if> <s:else> <tr> </s:else>