各位高手好,我原来写的jsp是这样的
<logic:iterate name="currencyList" id="item" indexId="index">
<%
if (((java.util.List) request.getAttribute("currencyList")).size() - 1 > index.intValue()) {
out.write(",");
}
%>现在我想改用jstl的写法
<c:forEach items="${currencyLists}" var="currencyList">
请问<% %>里面的index我该如何处理? 谢谢各位了!