1.序号自增
<table class="main_table">
<tr class="title">
<th width="50px">序号</th>
<th>回访日期</th>
<th>客户名</th>
</tr>
<c:forEach var="warrant" items="${lists}" varStatus="vs1">
<tr>
<td>${vs1.index+1}</td>
<td>${warrant.returnDate}</td>
<td>${warrant.clientName}</td>
</tr>
</c:forEach>
</table>
1.序号分页自增
<table class="main_table">
<tr class="title">
<th width="50px">序号</th>
<th>回访日期</th>
<th>客户名</th>
</tr>
<c:forEach var="warrant" items="${lists}" varStatus="vs1">
<tr>
<td>${(vs1.index+1)+((pageNow-1)*pageSize)}</td>
<td>${warrant.returnDate}</td>
<td>${warrant.clientName}</td>
</tr>
</c:forEach>
</table>