12.1. Using JSTL: An Overview

The standard tag library consists of two sublibraries. Each of the two sublibraries contains tags for general looping, iterating over the elements in a variety of data structures, evaluating items conditionally, and setting attributes or scripting variables.

The jr and jx Libraries

The first thing to understand about JSTL is that it consists of two nearly identical libraries. The first, the “jr” library, permits request time expressions as the values of its attributes. That is, it specifies rtexprvalue="true" in the attribute definitions of the TLD file. The second library, the “jx” library, uses a shorthand expression language to access page attributes and bean properties. In this library, “ $ ” indicates access ...

Get More Servlets and JavaServer Pages™ 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.