Name
<taglib>
Synopsis
The <taglib>
element
maps the symbolic name for a tag library specified by the
taglib
directive in a JSP page to the location of
the Tag Library Descriptor (TLD) file or JAR file that contains the
TLD file. The <taglib-uri>
element value
must match the uri
attribute value used in the JSP
page, and the <taglib-location>
subelement
contains the context-relative path to the library file:
<taglib> <taglib-uri>orataglib</taglib-uri> <taglib-location>/WEB-INF/lib/orataglib_1_0.jar</taglib-location> </taglib>
With the introduction of the auto-discovery feature in JSP 1.2, this element is rarely needed. For more details, see Chapter 20.
Get JavaServer Pages, 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.