在使用jstl的for-each标签时,怎么获取循环变量? 用代码实现如下:
<c:set var="index" value="0"></c:set><c:forEach items="..." var="...">.....<c:set var="index" value="${index + 1}"></c:set>.....</c:forEach>