The Example JSP Pages
This chapter describes the tasks involved in defining simple tags. We illustrate the tasks using excerpts from the JSP version of the Duke's Bookstore application discussed in The Example JSP Pages (page 476), rewritten here to take advantage of several custom tags:
A catalog tag for rendering the book catalog
A shipDate tag for rendering the ship date of an order
A template library for ensuring a common look and feel among all screens and composing screens out of content chunks
The last section in the chapter, Examples (page 608), describes several tags in detail: a simple iteration tag and the set of tags in the tutorial-template tag library.
The tutorial-template tag library defines a set of tags for creating an application ...
Get The J2EE™ Tutorial Second Edition 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.