JSP Standard Tag Library


JSTL is a collection of jsp standard tags which provides the core functionalities to many JSP applications.

To create a JSTL application, we need to load the jstl.jar file.

There are 5 types of tags in JSTL which are as follows:

Tag name Description
Core tags It provides some basic scripting tasks.
URI for core tags is http://java.sun.com/jsp/jstl/core.
Prefix for core tags is c.
Function tags It provides support for string manipulation.
URI for function tags is http://java.sun.com/jsp/jstl/functions.
Prefix for function tags is fn.
Formatting tags It provides support to format text, date, number etc.
URI for formatting tags is http://java.sun.com/jsp/jstl/fmt.
Prefix for formatting tags is fmt.
XML tags It provides support for XML processing.
URI for XML tags is http://java.sun.com/jsp/jstl/xml.
Prefix for XML tags is x.
SQL tags It provides support for SQL commands.
URI for SQL tags is http://java.sun.com/jsp/jstl/sql.
Prefix for SQL tags is sql.