JSP Tutorials - Herong's Tutorial Examples - Version 4.02, by Dr. Herong Yang
What is JSTL?
This section provides a tutorial example on how to measure the execution performance of a JSP page that does prime number calculation.
What is JSTL (JSP Standard Tag Libraries)? JSTL is a standard developed by Java Community Process, www.jcp.org, to defines a collection of JSP custom tags. The reference implementation is developed by the Jakarta project, jakarta.apache.org.
The latest version of JSTL is JSTL 1.2, which requires a JSP container that supports the Java Servlet 2.5 and JSP (JavaServer Pages) 2.1 specifications. Jakarta Tomcat 7 supports these specifications.
The preview version of JSTL is JSTL 1.1, which requires a JSP container that supports the Java Servlet 2.4 and JavaServer Pages 2.0 specifications. Jakarta Tomcat 5 supports these specifications.
The previous version is JSTL 1.0, which requires a JSP container that supports the Java Servlet 2.3 and JavaServer Pages 1.2 specifications. Jakarta Tomcat 4 supports these specifications.
Since I have Tomcat 7.0.32 installed on my machine, I will talk about JSTL 1.2 only in this section.
The goal of JSTL, as described in the specification, is to help simplify JavaServer Pages page authors' lives. To achieve this goal, JSTL has provided custom tags for many common JSP page authoring tasks that require scripting statements to manipulate server side dynamic data.
JSTL 1.2 offers tags through 5 libraries:
Last update: 2012.
Table of Contents