Chapter 11. New Tag Library Features in JSP 1.2

Topics in This Chapter

  • Converting TLD files to the new format

  • Bundling life-cycle event listeners with tag libraries

  • Checking custom tag syntax with TagLibraryValidator

  • Using the Simple API for XML (SAX) in validators

  • Handling errors with the TryCatchFinally interface

  • Changing names of method return values

  • Looping without creating BodyContent

  • Declaring scripting variables in the TLD file

Section 3.7 (Defining Custom JSP Tag Libraries) describes the creation and use of tag libraries in JSP 1.1. You do not need to modify JSP 1.1 tag libraries to make them work in JSP 1.2; they are totally compatible. However, JSP 1.2 has a number of new capabilities that are unavailable in JSP 1.1. Tag libraries that use ...

Get More Servlets and JavaServer Pages™ 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.