遍历表格

<table class="table table-hover table-striped">
<thead>
<tr>
<th>id</th>
<th>deviceIP</th>
<th>deviceAlias</th>
<th>serverName</th>
<th>IPAddress</th>
</tr>
</thead>
<tbody>
<c:forEach var="device" items="${requestScope.get('searchList')}" varStatus="status">
<tr>
<td>${device.id}</td>
<td>${device.deviceIP}</td>
<td>${device.deviceAlias}</td>
<td>${device.serverName}</td>
<td>${device.IPAddress}</td>
</tr>
</c:forEach>
</tbody>
</table>

posted on 2018-05-16 10:02  rexienk  阅读(202)  评论(0编辑  收藏  举报

导航