1/8
Contents
Title and Copyright Information
Preface
Documentation Accessibility
Conventions
1
Introduction and Roadmap
Document Scope and Audience
Guide to this Document
Related Documentation
New and Changed JSP Features In This Release
2
Understanding and Creating Custom JSP Tags
Tag Handler API and Implementation
Custom Tag Library
Custom Tag Format
What Can You Do with Custom Tags?
Creating and Configuring a JSP Tag Library: Example Procedures
3
Creating a Tag Library Descriptor
Overview of Tag Library Descriptors
Writing the Tag Library Descriptor
Sample Tag Library Descriptor
The DynamicAttributes Interface
Tag Handler Support of Dynamic Attributes
Dynamic Attributes Example
Dynamic Attributes Syntax
4
Implementing the Tag Handler
Simple Tag Handler Life Cycle (SimpleTag Interface)
Events in the Simple Tag Handler Life Cycle
JSP Fragments
Tag Handler Life Cycle (Tag and BodyTag Interfaces)
Iteration Over a Body Tag (IterationTag Interface)
Handling Exceptions within a Tag Body
Using Tag Attributes
Defining New Scripting Variables
Dynamically Named Scripting Variables
Defining Variables in the Tag Library Descriptor
Writing Cooperative Nested Tags
Using a Tag Library Validator
5
Administration and Configuration
Configuring JSP Tag Libraries
Packaging a JSP Tag Library as JAR File
Scripting on this page enhances content navigation, but does not change the content in any way.