Taglib Descriptor Wizard
Tag Files
In JSP 2.0, you can encode functionality in scripting syntax,
without the need for any Java code. These tag files must then
be described in the tag library descriptor file.
This page only appears if you selected the JSP 2.0 button on the
first page.
| TLD Tags |
- Select a tag file from the list to work with.
Its values populate the fields below and can then be updated.
The list is initially populated with any tag files (
.tag or
.tagx extensions) found in the project in the
WEB-INF/tags or META-INF/tags directories.
|
tag-file name |
- To add a new tag file, press the Add button
and enter its name. To remove a tag file, select it in the list and press
the Delete button.
|
|
- Enter a display name for the tag file.
|
display-name |
- Enter the relative path to a small icon
(16x16 pixels) that can be used to represent this tag file.
The image must be in either GIF or JPEG format.
|
small-icon |
- Enter the relative path to a large icon
(32x32 pixels) that can be used to represent this tag file.
The image must be in either GIF or JPEG format.
|
large-icon |
- Specify the path to the tag file,
relative to the WAR or JAR file. The name must start with
/WEB-INF/tags/ or /META-INF/tags/ respectively.
|
path |
- Enter a description of the tag file
for documentation purposes.
|
description |
- You can also provide an example of its use.
|
example |
Proceed to the functions page,
which shows details Java functions available to the JSPs, with the
Next button.
The Back button returns to the
listeners page.
Alternately, you can accept all the defaults and generate the final
file with the Finish button.
Version 3.0
Written by Keith Wood
(kbwood@iprimus.com.au).