Prev Next

Web / JSP interview questions

How do I find or compare collection size using JSTL?

JSTL functions library (fn) could be used to find the size or compare size of the collection. for e.g.

<c:if test="${fn:length(listItems) gt 0}">
   <p>Items found.</p>
</c:if>


More Related questions...

Show more question and Answers...


Comments & Discussions