<c:forEach items="${cellList}" var="cell" varStatus="var" begin="0" step="1"> <tr> <td align="center"> <c:out value="${var.index+1}"/> </td> <td align="center" > <c:out value="${cell.cellId}" /> </td> <td align="center" > <c:out value="${cell.paperName}" /> </td> </tr> </c:forEach>