bea.com | products | dev2dev | support | askBEA

Download Docs | Site Map | Glossary
Search

Administration Console Online Help

TLD --> Configuration

Tasks Additional Documentation Attributes

Overview

A tag library allows a developer to group together tags with related functionality. A tag library uses a tag library descriptor (tld) file that describes the tag extensions and relates them to their Java classes. WebLogic Server and some authoring tools use the TLD to get information about the extensions. TLD files are written in XML notation.

The syntax for a tag library descriptor is specified in the document type descriptor (DTD) available at: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd.

Tasks

Configuring a New Web Application or Web Service

Using the Web Application Deployment Descriptor Editor

Additional Documentation

(Requires an Internet connection.)

Configuring JSP Tag Libraries

Programming JSP Tag Extensions

Define a JSP Tag Library Descriptor

Attributes

Attribute Label | Description | Value Constraints
--- | --- | ---
JspVersion | Indicates the version of JSP the tag library depends upon. Attribute: JspVersion | Configurable: yes Readable: yes Writable: yes
ShortName | Defines a public URI that uniquely identifies this version of the taglibrary. Leave it empty if it does not apply. Specifies a simple default short name that could be used by a JSP authoring tool to create names with a mnemonic value. For example, it may be used as the preferred prefix value in taglib directives. Attribute: ShortName | Configurable: yes Readable: yes Writable: yes
URI | Defines an arbitrary text string describing the tag library. Attribute: URI | Configurable: yes Readable: yes Writable: yes
DisplayName | Provides a short name that is intended to be displayed by tools. Attribute: DisplayName | Configurable: yes Readable: yes Writable: yes
SmallIcon | Provide the name of a file containing a small 16 x 16 icon image. The file name is a relative path within the web application. Attribute: SmallIcon | Configurable: yes Readable: yes Writable: yes
LargeIcon | Provide the name of a file containing a small 32 x 32 icon image. The file name is a relative path within the web application. Attribute: LargeIcon | Configurable: yes Readable: yes Writable: yes
Description | Text description of parent element. Attribute: Description | Configurable: yes Readable: yes Writable: yes