November 2003
Intermediate to advanced
1488 pages
36h 35m
English
Tag libraries are used within the context of a WebLogic application. To use tags within a tag library, the tag library's uri (file location) must first be registered within the application's web.xml (application deployment descriptor) file. This file is located in the application's ..\WEB-INF directory. The tag library's XML syntax is follows:
<taglib>
<taglib-uri>name.tld</taglib-uri>
<taglib-location>
/WEB-INF/lib/name-tags.jar
</taglib-location>
</taglib>
To use the library within your JSP page after the tag library's uri is set, you must reference the tag library using the taglib directive with the syntax that follows:
<%@ taglib uri="name-tags.tld" prefix="yourPrefix" %>
Read now
Unlock full access