JSP CUSTOM TAG LIBRARIES


JSP Tag Libraries
A JSP tag library is a collection of custom JSP tags. The library defines declarative, modular functionality that can be reused by any JSP page. The tags are defined in XML format in a text file known as the Tag Library Descriptor file or TLD. In the TLD, the tag definitions tell the JSP parser how to interpret each tag, its attributes, and its body content. By grouping the tags into one library file, they can be shared by several JSPs.

The advantage of using Domino JSP tag libraries is that they enable Web page authors who are not Java experts or who are not versed in handling back-end Domino objects to incorporate complex, server-side Domino data manipulation into their pages through easy-to-use tags.

There are two Domino JSP tag libraries. Both comply to the JSP 1.1 and Java Servlet 2.2 specifications developed by Sun Microsystems*. They are:

Tag library nameIncludes:
domtags.tldCollaboration tags for accessing standard, back-end objects in the Domino data repository.
domutil.tldUtility tags for performing tasks that are common to all J2EE Web containers.
*You can download the JSP 1.1 specification from http://java.sun.com/products/jsp/download.html and the Java Servlet 2.2 specification from http://java.sun.com/products/servlet/download.html.

This section defines:

Using Domino JSP tags

The Domtags tag library

The Domutil tag library

Note The JSPs that contain the custom Domino tags should be hosted by a server that has a rich J2EE Web development environment, such as the IBM WebSphere Advanced Edition or Developer Edition Servers.

See Also