想实现循环显示:)但是tr的值没有改变:)?请问如何实现?谢谢!!!
<c:set var="tr" value="${0}" property="page"/>
   <logic:iterate  id="ListShowBean" name="ResourceForm"  property="RecordSet">
                       <c:if test="${tr==0}">
                             <tr class="mainlisttabledark">
                       </c:if>
                      <c:if test="${tr==1}">
                              <tr class="mainlisttablelight">
                      </c:if>
<td nowrap> <p align="center">
               <%HashMap map = (HashMap)ListShowBean;
               String id = (String)map.get("$RESOURCE_PK");
%>             <input name="selected" type="checkbox" value="<%=id%>">
           </td>
  <td>
<bean:write name="ListShowBean" property="$RESOURCE_NAME"  />
</td>
<td>
<bean:write name="ListShowBean" property="$RESOURCE_URL"  />
</td>
<td>
<bean:write name="ListShowBean" property="$WORKFLOW_FLAG"  />
</td><td><a href="UpdateResourceAction.do?actionType=edit&doKey=<%=id%>">修改</a> <a href="grant_org_user.htm">用户</a> </td>
                       <c:if test="${tr==0}">
                             <c:set var="tr" value="${1}" property="page"/>
                       </c:if>
                      <c:if test="${tr==1}">
                             <c:set var="tr" value="${0}" property="page"/>
                      </c:if>
       
</logic:iterate>