Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
11.3 Given a custom tag library, identify properly formatted custom tag use in a JSP page. Uses include:
An empty custom tag
A custom tag with attributes
A custom tag that surrounds other JSP code
Nested custom tags
The custom tag is a convention that allows you to have the container call the tag library life cycle event methods (for example, doStartTag), including the attribute get/set calls automatically invoked when attributes are declared in the custom tag. doStartTag and doEndTag methods are called when the JSP page request is processed. The following is an example of an empty custom tag (no body):