Global tag libraries

 

Global tag libraries

JavaServer Pages (JSP) tag libraries contain classes for common tasks such as processing forms and accessing databases from JSP files.

Tag libraries encapsulate, as simple tags, core functionality common to many Web applications. The Java Standard Tag Library (JSTL) supports common programming tasks such as iteration and conditional processing, and provides tags for:

Tag libraries also introduce the concept of an expression language to simplify page development, and include a version of the JSP expression language.

A tag library has two parts - a Tag Library Descriptor (TLD) file and a Java archive (JAR) file.


Sub-topics
tsx:dbconnect tag JavaServer Pages syntax
dbquery tag JavaServer Pages syntax
dbmodify tag JavaServer Pages syntax
tsx:getProperty tag JavaServer Pages syntax and examples
tsx:userid and tsx:passwd tag JavaServer Pages syntax
tsx:repeat tag JavaServer Pages syntax
Example: Combining tsx:repeat and tsx:getProperty JavaServer Pages tags
Example: tsx:dbmodify tag syntax
Example: Using tsx:repeat JavaServer Pages tag to iterate over a results set

Related concepts
JavaServer Pages

Related reference
Web applications: Resources for learning