The JavaServer Pages (JSP) 1.2 Specification provides for the use of custom JSP tags packaged in a tag library. Custom tag libraries are reusable, readily accessible, and highly distributable.
![]() |
You must include the appropriate statements in your JSP source file, described below, and add the custom tag library to the web module for the JSP page to use the tags. |
To use a custom tag in a JSP file:
/WEB-INF/lib
directory
of the web module containing the relevant JSP page.<%@ taglib prefix="sql"
uri="http://java.sun.com/jstl/ea/sql" %>
<sql:transaction dataSource="${myDatasource}">
See Also | |
---|---|
Custom Tag Libraries Adding a Tag Library to a Web Module |