I have a table that shows the values of a select. Each field is accompanied by a numerical value that refers to each of the lines that the table has. But I'm not able to make them grow.
<tbody>
<c:set var = "contador" value = "1" scope="page"/>
<c:forEach items="${list}" var="actividad">
<tr>
<th scope="row">
<c:set var="contador" value="${contador + 1}" scope="page"/>
</th>
<td>${actividad.actividad}</td>
<td>${actividad.hora}</td>
</tr>
</c:forEach>
</tbody>