JavaServer Pages Standard Tag Library (JSTL)

The JSTL is a collection of custom JSP tags and a supporting expression language that has been designed to simplify writing JSPs. Full details of the JSTL can be found at http://java.sun.com/products/jsp/jstl/. The JSTL is a standard component of J2EE 1.4 but you can also download it for use with J2EE 1.3 compliant servletcontainers.

The JSTL specification defines several tag libraries each supporting a particular functional area and having its own JSP namespace and TLD URI. The areas are summarized in Table 14.1.

Table 14.1. JavaServer Pages Tag Libraries
FunctionNamespace PrefixTLD URL
Core – conditional, iterators and URL actionschttp://java.sun.com/jsp/jstl/core
XML processingxhttp://java.sun.com/jsp/jstl/xml ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.