<c:forEach var="p" items="${list }" varStatus="status">
<tr <c:if test="${status.index % 2==1}">style="border-color: green"</c:if> >
<th>${p.userName }</th>
<th>${p.nickname }</th>
<th>${p.age }</th>
<th>
<fmt:formatDate pattern='yyyy-MM-dd' value="${p.birthday }"/>
<!-- <input type="date" value="1990-09-09"/> -->
<a href="add.jsp"> 增加</a>
<a href="heServlet?action=update&id=${p.id }"> 修改</a>
<a href="heServlet?action=delete&id=${p.id }"> 删除</a>
</th>
</tr>
</c:forEach>
<tr <c:if test="${status.index % 2==1}">style="border-color: green"</c:if> >
<th>${p.userName }</th>
<th>${p.nickname }</th>
<th>${p.age }</th>
<th>
<fmt:formatDate pattern='yyyy-MM-dd' value="${p.birthday }"/>
<!-- <input type="date" value="1990-09-09"/> -->
<a href="add.jsp"> 增加</a>
<a href="heServlet?action=update&id=${p.id }"> 修改</a>
<a href="heServlet?action=delete&id=${p.id }"> 删除</a>
</th>
</tr>
</c:forEach>