Using Tags in JSP Files

See Also

  1. Place the tag library JAR file into the WEB-INF/lib directory of the web module.
  2. Before referencing a tag in your JSP source file, add a taglib directive to the file. The directive requires a URI for the location of the tag library within the web module and a tag prefix used to identify tags from that library.
  3. At any point after the taglib directive, you can use the tag prefix to reference tags from the tag library. For example:
    <%@ taglib prefix="sql"
    uri="http://java.sun.com/jstl/ea/sql" %>
    <sql:transaction dataSource="${myDatasource}">
Tip You must include the appropriate statements in your JSP source file and add the tag library to the web module for the JSP page to use the tags.
See Also
Custom Tag Libraries
Adding a Tag Library to a Web Module

Legal Notices