Chapter 7. Custom Tag Libraries

In Chapter 3, we introduced JavaServer Pages. The introduction focused on the core concepts of JSP and explained how JSP complements Servlets in the J2EE Web tier; however, a very important set of JSP functionality was completely ignored—custom tags. In Chapter 3 the topic of custom tags, also called custom actions, was avoided in favor of establishing the more fundamental concepts of JSP. Custom tag use is not a topic that can be fully covered by a few pages of discussion. A proper explanation of custom tags easily fills a chapter itself, while full coverage of custom tag uses can easily fill a few more.

In this chapter a complete introduction is given for custom tags. The topics of focus are how to build custom ...

Get Servlets and JavaServer Pages™: The J2EE™ Technology Web Tier 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.