showing results for - "how to break out of foreach jstl"
Sara
29 Jun 2017
1<c:forEach items="${requestScope.DetailList}" var="list">
2    <c:if test="${not (list.someType eq 'aaa' or list.someType eq 'AAA')}">
3        <p>someType is not aaa or AAA</p>
4    </c:if>
5</c:forEach>
6
James
15 Oct 2018
1<c:forEach items="${requestScope.DetailList}" var="list">
2    <c:if test="${list.someType ne 'aaa' and list.someType ne 'AAA'}">
3        <p>someType is not aaa or AAA</p>
4    </c:if>
5</c:forEach>
6
Gabriela
10 Jul 2019
1<c:forEach items="${requestScope.DetailList}" var="list">
2    <c:if test="${list.someType eq 'aaa' or list.someType eq 'AAA'}">
3        <<<continue>>>
4    </c:if>
5    <p>someType is not aaa or AAA</p>
6</c:forEach>
7