| Contents | Prev | Next |
|
The following TLD elements are used to define a tag library:
<tlibversion> - The tag library's version
<jspversion> - The JSP specification version the tag library depends on
<shortname>- A simple default name that could be used by a JSP page authoring tool to create names with a mnemonic value; for example,shortnamemay be used as the preferred prefix value in taglib directives and/or to create prefixes for IDs.
<uri> - A URI that uniquely identifies the tag library
<info> - Descriptive information about the tag library
<tag>
...
</tag>
...
</taglib>
The TLD element required for all tags is the one used to specify a tag handler's class:
The following sections will describe the methods and tag library descriptor elements that you need to develop for each type of tag introduced in "Using Tags".<tag> <tagclass>classname</tagclass> ... </tag>