标签:for begin foreach == code stat ems data color
1 <c:forEach items="${applicationTypeList}" var="applicationType" begin = "0" varStatus="s"> 2 <c:if test="${s.first==true}"> 3 <li data-index="0" id="${applicationType.id}" class="switch"> 4 <div class="fun_li"> 5 <span>${applicationType.typename}</span> 6 </div> 7 </li> 8 </c:if> 9 <c:if test="${s.first==false}"> 10 <li data-index="${s.index}" id="${applicationType.id}"> 11 <div class="fun_li"> 12 <span>${applicationType.typename}</span> 13 </div> 14 </li> 15 </c:if> 16 </c:forEach>
标签:for begin foreach == code stat ems data color
原文地址:https://www.cnblogs.com/yjava/p/11981184.html