A set of tag handlers that implement the tag library's feature set.
A Tag Library Descriptor (TLD) that
describes the tags in the tag library and maps each tag to a tag handler.
The following steps show how to create a TLD in a web application. After you create
the TLD, use code completion in the Source Editor to define the tag library
descriptor's properties.
To create a TLD in a web application:
In the Projects window or Files window, right-click the project node.
From the pop-up menu, choose New > Other.
Under Categories, select Web. Under File Types, select Tag Library Descriptor. Click Next.
Type the name of the TLD file. Do not add the .tld
extension, unless it is part of the name.
Type the folder where your TLD files are housed. By default, it is created in WEB-INF/tlds.
If you create TLD files outside the WEB-INF subfolder, but still within the web folder,
you must map them in your
WEB-INF/web.xml file. You can use the Source Editor to modify the URI.
Type the prefix to be used within your JSP file. By default, the prefix is the same
as the name of your TLD file. You can use the Source Editor to modify the prefix.
Click Finish.
The IDE creates a TLD file that conforms to the JSP2.0 specification in J2EE 1.4 projects
or to the JSP1.2 specification in J2EE1.3 projects. The IDE supports both types of TLD files.
That is, you can edit them using code completion
in the Source Editor.
For more information about creating and using tag libraries, see the JavaServer
Pages Specification available
at