日期:2014-05-17 浏览次数:20795 次
<s:iterator value="#request.list" id="us">
<tr>
<td><s:property value="#us.username"/></td>
<td><s:property value="#us.phone"/></td>
<td><s:property value="#us.email"/></td>
<td><a href="deleteUser.action?id=%{#us.id}">删除</a></td>
<td><a href="updateUser.action?id=%{#us.id}">修改</a></td>
</tr>
</s:iterator>
<c:forEach items="${list}" var="us" varStatus="i">
<tr>
<td>${us.username}</td>
<td>${us.phone}</td>
<td>${us.email}</td>
<td><a href="deleteUser.action?id='${us.id}'">删除</a></td>
<td><a href="updateUser.action?id='${us.id}'">修改</a></td>
</tr>
</c:forEach>
<s:iterator value="list" id="us">
<tr>
<td><s:property value="#us.username"/></td>
<td><s:property value="#us.phone"/></td>
<td><s:property value="#us.email"/></td>
<td><a href="deleteUser.action?id=%{#us.id}">删除</a></td>
<td><a href="updateUser.action?id=%{#us.id}">修改</a></td>
</tr>
</s:iterator>
<s:iterator value="#request.list" >
<tr>
<td>${username}</td>
<td>${phone}</td>
<td>${email}</td>
<td><a href="deleteUser.action?id=${id}">删除</a></td>
<td><a href="updateUser.action?id=${id}">修改</a></td>
</tr>
</s:iterator>