Prentice Hall and Sun Microsystems. Personal use only; do not redistribute.
14.5 Optionally Including the Tag Body
331
The Tag Library Descriptor File
If your tag ever makes use of its body, you must provide the value
JSP
inside
the
bodycontent
element. Other than that, all the elements within
tag
are
used in the same way as described previously. Listing 14.14 shows the entries
needed for
DebugTag
.
Listing 14.14 csajsp taglib.tld
PUBLIC " //Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web jsptaglibrary_1_1.dtd">
"http://java.sun.com/j2ee/dtds/jsptaglibrary_1_2.dtd"
>
1.0
1.1
csajsp
A tag library from Core Servlets and JavaServer Pages,
http://www.coreservlets.com/.
debug
coreservlets.tags.DebugTag
Includes body only if debug param is set.
JSP
Second edition of this book: www.coreservlets.com; Sequel: www.moreservlets.com.
Servlet and JSP training courses by book's author: courses.coreservlets.com.
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved