Chapter 10. Custom Tag Libraries

Terms you'll need to understand:

  • Custom tags

  • Tag libraries

  • Tag library descriptor

  • Web deployment descriptor

  • Nested tags

  • Tag attributes and bodies

  • taglib directive

  • Custom tag life cycle

Techniques you'll need to master:

  • Know the tag library descriptor elements for tag libraries.

  • Be able to write a tag library descriptor in XML notation.

  • Understand the tag life cycle.

  • Identify triggers for event methods (doStartTag, doAfterBody, and doEndTag).

  • Identify valid return values for the event methods.

  • Understand how to use BODY or PAGE constants in event methods.

  • In the custom tag handler, know how to access a given JSP page's implicit variable and the page's attributes.

  • Identify methods that return an outer tag handler from within an inner ...

Get Java™ 2 Enterprise Edition (J2EE™) Web Component Developer Exam Cram™ 2 (Exam 310-080) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.