This wizard scans your current project and extracts details about
classes that implement the Tag
or SimpleTag
interfaces for custom JSP tag libraries.
From these it generates a tag library descriptor file (TLD) with a default name
of the current project and a .tld extension
in the WEB-INF/tld
directory (overwriting
any existing file of the same name). This file provides the mapping from
the tag names in the JSPs to the class names that implement them.
If no such classes are found, a message to this effect is displayed and
no further action is taken. Note that this message may also appear if the
supporting classes and interfaces (servlet.jar
or
jsp-api.jar
) cannot be found.
If tags are found, a dialog appears to let you customise the details before generating the tag library descriptor itself.
You invoke the wizard from the Object Gallery (File | New... on the menu) on the Web tab. It is attached to the J2EE | Web personality in JBuilder 10 and up.
TLD Tags | |
|
|
|
jspversion/ jsp-version |
|
shortname/ short-name |
|
display-name |
|
uri |
|
small-icon |
|
large-icon |
|
info/ description |
Proceed to the second page, which shows details about a tag library validator (not available in JSP 1.1), with the Next button. If you selected JSP 1.1 as the version on this page, then Next takes you straight to the last page. Alternately, you can accept all the defaults and generate the final file with the Finish button.
A complementary wizard generates the
individual classes that implement the Tag
or SimpleTag
interfaces for you, providing the framework for your JSP tags.
Version 3.0
Written by Keith Wood
(kbwood@iprimus.com.au).