标签:循环 使用 index plain space end foreach col AC
1、EL---Expression language(表达式语言);
2、JSTL---Jsp Standard Tag Library(JSP标准标签库);
<c:forEach var="i" begin="1" end="9" varStatus="status">
${status.index} </c:forEach>通过varStatus="status" 然后使用 ${status.index}可以取得循环的次数,第几次循环;
标签:循环 使用 index plain space end foreach col AC
原文地址:https://www.cnblogs.com/newbest/p/9130138.html