12.2. Installing and Configuring JSTL

Before you can use the standard tag library, you must perform the following seven steps.

1.
Download the JSTL files.
2.
Access the JSTL documentation.
3.
Make the JSTL classes available to the server.
4.
Put the JSTL TLD files in the WEB-INF directory.
5.
Create aliases for the TLD file locations.
6.
Define the expression language in web.xml.
7.
Download and install an XML parser.

The following subsections give details on each of these steps.

Downloading the JSTL Files

The home page for JSTL is http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html. There should be a prominent link on that page specifying where to obtain the JSTL code. When this book went to press, that link referred to ...

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.