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