Global tag libraries

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:

  • manipulating XML documents

  • supporting internationalization

  • using Structured Query Language (SQL)

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 JAR file.

 

See also


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

 

See Also


JavaServer Pages

 

See Also


Web applications: Resources for learning