Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to break out of foreach jstl

<c:forEach items="${requestScope.DetailList}" var="list">
    <c:if test="${not (list.someType eq 'aaa' or list.someType eq 'AAA')}">
        <p>someType is not aaa or AAA</p>
    </c:if>
</c:forEach>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #break #foreach #jstl
ADD COMMENT
Topic
Name
1+7 =