Taglib Descriptor Wizard

Functions

In JSP 2.0, you can access functions in Java classes from your JSP scripts. These functions 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 function from the list to work with. Its values populate the fields below and can then be updated.
function
name
  • To add a new function, press the Add button and enter its name. To remove a function, select it in the list and press the Delete button.
  • Enter a display name for the function.
display-name
  • Enter the relative path to a small icon (16x16 pixels) that can be used to represent this function. 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 function. The image must be in either GIF or JPEG format.
large-icon
  • Select the Java class that contains the function. You can use the Browse button to search for the class.
function-class
  • Select the signature for the desired function from this class. Only those public methods that return a value are listed.
function-signature
  • Enter a description of the function for documentation purposes.
description
  • You can also provide an example of its use.
example

Proceed to the final page, which shows details of the actual tags, with the Next button. The Back button returns to the tag files 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).