Chapter 9. Customize JSP with Tag Libraries


This chapter covers the following Sun-specified objectives for Section 11, Designing and Developing JSP Pages Using Custom Tags, and Section 12, Designing and Developing a Custom Tag Library, of the exam:

  • 11. 2 Identify properly formatted TAGLIB directives in a JSP page.

  • The taglib directives in a JSP page define the taglib prefix for your JSP page. The prefix is the namespace of tags; it's how you refer to the given tag library throughout the JSP page. The taglib directive creates a reference to the prefix. The prefix tells the container which library you want. Once that is done, you can use a custom tag, so called because it is your tag, not a standard one that came shipped with the container. ...

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

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