How to Access the Size of a Collection in a JSP Page Using JSTL-EL

Steve Neal Development, Java Programming 13 Comments

A common and frustrating problem that many programmers encounter when first working with JSPs is how to access the size of a Collection using the JavaServer Pages Standard Tag Library (JSTL) and the Expression Language (EL). This article discusses this problem and illustrates a best practice solution. The Problem The JSTL and EL greatly reduce the amount of Java code …