4
我在c:forEach
循环中生成标记。我怎样才能确定这个循环是上次运行的,以便根据我的要求生成一些额外的标记?如何找到最后一次循环运行?
<c:forEach items="${sessionScope.leadListIs}" var="leadList">
<li>Test</li>
<!-- if this loop running final time then -->
<li>Last</li>
<!-- end-if -->
</c:forEach>
你不能只把'