Commonly Used JSP Tag Classes and Interfaces
Commonly used interfaces and classes for the definition of JavaServer Pages tag libraries are presented in Tables 18.1 and 18.2. For the complete API, see http://java.sun.com/products/jsp.
Table 18.1. Commonly Used JSP Tag API Interfaces|
BodyTag | The BodyTag interface extends IterationTag. Used to implement tags with bodies. | IterationTag | The IterationTag interface extends Tag. Used to implement tags with bodies, where iteration is desired. | Tag | Used to implement simple tags; that is, tags with no bodies. | TryCatchFinally | Used to implement exception handling within tag body. |
Table 18.2. Commonly Used JSP Tag API Classes|
BodyContent | Abstraction of tag body content. | BodyTagSupport (see Listing 18.4) | Abstract class for implementing tags with bodies. Used in lieu of the BodyTag interface. | TagExtraInfo (see Listing 18.6) | Abstraction of additional information not contained in tag library descriptor. | TagSupport (see Listings 18.1, 18.2, and 18.7) | Abstract class for implementing simple tags. Use in lieu of the Tag interface. |
|