O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

JSTL: The Standard Tag Library

As developers have created more and more custom tag libraries, they discovered a need to come up with a standard library of the most commonly used ones. This led to the Java Standard Tag Library standard (JSTL).

JSTL can be broken up into a number of large sections. Each one will be briefly summarized in the following sections.

General Purpose Actions

The general purpose tags are c.out, which writes a value to the JSP stream; c.set, which sets a scoped variable; c.remove, which removes a scoped variable; and c.catch, which is used to catch exceptions inside its body.

Conditional Actions

The conditional action tags implement control flow. c:if is a straightforward conditional evaluation, whereas c:choose in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required