Tag Handler Life Cycle

If the container encounters a custom tags during the display of a JSP page, many events take place, beginning with the instantiation of the tag handler as shown in Figure 18.2.

Figure 18.2. Tag handler life cycle.

Execution of the methods implemented within tag handler classes is triggered by these events along the tag handler life cycle. The sequence of method invocation within the tag handler life cycle is as follows:

  • Once a JSP tag is encountered, the methods setPageContext() and setParent() are invoked to set up an environment context for the tag handler. These methods don't have to be implemented if you're using the ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.