JSTL跳出<c:forEach>循环

<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>
原文地址:https://www.cnblogs.com/bunuo/p/6143808.html