JSTL跳出循环


<c:forEach items="${consultPager.dataList }" var="consult">
    <tr>
        <c:set var="isDone" value="0" scope="page"></c:set>
        <c:forEach items="${consultExpertList }" var="ceList" >
            <c:if test="${consult.expert_id  == ceList.expert_id }">
                <c:if test="${ isDone ne '1'  }">${ceList.expert_name }</c:if>
                <c:set var="isDone" value="1" scope="page"></c:set>
            </c:if>
            <c:if test="${consult.expert_id  != ceList.expert_id }">
            </c:if>
        </c:forEach>
    </tr>
</c:forEach>

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM