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 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.