标签:
<table>
<tr><td>name</td><td>salary</td><td>index</td></tr>
<c:forEach var="user" items="${users}" varStatus="status">
<tr class="row${(status.index%2+1)}">
<td>${user.name}</td>
<td>${user.salary}</td>
<td>${status.index}</td>
</tr>
</c:forEach>
</table>
标签:
原文地址:http://www.cnblogs.com/hzzhero/p/4777022.html