Allows introduction of new actions into a JSP
A collection of actions that encapsulate some functionality to
be used in JSPs.
A Tag Library can be used to define a specialized sub language of JSP
that allows the users of that library to use it naturally with JSPs.
Goals of Tag Libraries
- Be portable
- Usable in any JSP container
- Simple and easy to use
-
Should allow non programmers to develop more
complex pages without using complex scripting elements
- Expressive
-
Nesting, access to page elements, updating scripting variables
- Usable with different scripting languages
- Built upon existing concepts
The JSP Process - when a JSP is processed, it follows these steps:
- parsing - using taglib directives
- validation - if desired
- translation - creates a JSP
- execution - executed like any normal Servlet class


