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 define 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. Apache 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. Apache 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. Apache Tomcat 4 supports these specifications.

Since I have Tomcat 9.0.12 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:

JSTL implementations:

Table of Contents

 About This Book

 JSP (JavaServer Pages) Overview

 Tomcat Installation on Windows Systems

 JSP Scripting Elements

 Java Servlet Introduction

 JSP Implicit Objects

 Syntax of JSP Pages and JSP Documents

 JSP Application Session

 Managing Cookies in JSP Pages

 JavaBean Objects and "useBean" Action Elements

 Managing HTTP Response Header Lines

 Non-ASCII Characters Support in JSP Pages

 Performance of JSP Pages

 EL (Expression Language)

Overview of JSTL (JSP Standard Tag Libraries)

What is JSTL

 Installing GlassFish JSTL on Tomcat

 "Hello world!" with JSTL

 JSTL in XML Style JSP Pages

 General Syntax of JSTL Tags

 NoClassDefFoundError - LoopTag/ForEachTag

 Installing JSTL 1.2 API JAR File

 JSTL Example - Loop Tag on Map Objects

 JSTL Core Library

 JSP Custom Tags

 JSP Java Tag Interface

 Custom Tag Attributes

 Multiple Tags Working Together

 File Upload Test Application

 Using Tomcat on CentOS Systems

 Using Tomcat on macOS Systems

 Connecting to SQL Server from Servlet

 Developing Web Applications with Servlet

 Archived Tutorials

 References

 Full Version in PDF/EPUB