Chapter 9. Customize JSP with Tag Libraries
OBJECTIVES
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 thetaglib
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. Thetaglib
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 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.