Murach's Java Servlets and JSP (2nd Edition)
How to use custom JSP tags

This chapter shows how to create and use a library of custom JSP tags within a Java web application.

Chapter 12 How to use custom JSP tags
How to code a custom tag that doesn't have a body 376
The tag 376
The tag element 378
The tag class 380
How to code a custom tag that has a body 382
The tag 382
The tag element 384
The tag class 384
How to code a custom tag that has attributes 386
The tag 386
The tag element 388
The tag class 390
How to code a custom tag that reiterates its body 392
The tag 392
The tag element 394
The tag class 394
How to work with scripting variables 398
An introduction to scripting variables 398
The TEI class for four scripting variables 400
Classes, methods, and fields for working with custom tags 402
Methods and fields of the TagSupport class 402
Methods and fields of the PageContext class 404
Methods and fields of the BodyTagSupport class 406
Methods and fields of the BodyContent class 408
t




Murach's Java Servlets and JSP

Learn more about this book

View the table of contents

Add this book to your cart