c:forEach 遍历集合中的元素,判断是否是最后一个元素
来源:互联网 发布:机房网络交换机柜回收 编辑:程序博客网 时间:2024/06/07 22:35
<c:forEach items="${pointSection}" var="chl" varStatus="stat">
<c:if test="${!stat.last}" >
<div class="item" id="_MYJD_repair" style="border-bottom-style: dotted;border-bottom-width: 1px;border-bottom-color: olive">
<a href="pointProductController.html?flag=flagPProductsection${chl.pointseId}" class="zltda">${chl.section}</a>
</div>
</c:if>
<c:if test="${stat.last}">
<div class="item" id="_MYJD_repair">
<a href="pointProductController.html?flag=flagPProductsection${chl.pointseId}" class="zltda">${chl.section}</a>
</div>
</c:if>
</c:forEach>
<c:if test="${!stat.last}" >
<div class="item" id="_MYJD_repair" style="border-bottom-style: dotted;border-bottom-width: 1px;border-bottom-color: olive">
<a href="pointProductController.html?flag=flagPProductsection${chl.pointseId}" class="zltda">${chl.section}</a>
</div>
</c:if>
<c:if test="${stat.last}">
<div class="item" id="_MYJD_repair">
<a href="pointProductController.html?flag=flagPProductsection${chl.pointseId}" class="zltda">${chl.section}</a>
</div>
</c:if>
</c:forEach>
0 0
- c:forEach 遍历集合中的元素,判断是否是最后一个元素
- c:forEach 遍历集合中的元素,判断是否是最后一个元素
- c:forEach 遍历集合中的元素,判断是否是最后一个元素
- c:forEach 遍历集合中的元素属性详解,判断是否是最后一个元素,
- 判断是否是最后一个数组元素的方法
- 使用foreach遍历集合元素
- foreach遍历数组中的元素
- 在C:foreach 中,判断是否最后一个
- 遍历集合中的元素
- 判断一个数组中的元素是否重复?
- 使用<c:forEach>标签遍历List中的map元素
- 如何在foreach中删除一个集合中的元素
- 通过set集合判断一个集合的元素是否重复
- Java使用foreach遍历集合元素
- Java使用foreach遍历集合元素
- 判断一个元素是否在一个集合中
- mybatis foreach里用bind只获取集合的最后一个元素问题
- SDUT 离散题目2 判断一个集合元素是否重复
- php指令分隔符
- 专家详解DDOS攻击介绍以及使用方法
- android Bitmap
- php注释
- 黑马程序员_JAVA基础——位运算
- c:forEach 遍历集合中的元素,判断是否是最后一个元素
- php数据类型
- 使用Rainbow tables和Ophcrack的组合工具破解Windows密码
- 老记不住这个js判断radio的写法
- php整形
- [ilink32 Error] Fatal: Unable to open file 'EUREKALOGCORE.LIB'
- 如何在Eclipse中查看Android源代码
- Eclipse选中变量名,相同变量名会跟着默认选中
- php数组