Creating Custom Tag Libraries

See Also

A tag library consists of:

Warning Attempting to generate more than 200 tags might result in an out of memory exception

To create a custom tag library:

  1. In the Explorer, right-click on the root directory of the web module in which you want to create your tag library. If you create a tag library outside of a web module, follow the instructions in Packaging and Deploying a Custom Tag Library to execute JSPs within a web module that uses these tags.
  2. From the contextual menu, choose New and choose JSP & Servlet and choose Tag Library.

This operation creates a TLD file. Use the Tag Library Customizer to define the properties of your custom tag library.

You can also create a tag library from the main menu. Choose File and choose New and choose JSP & Servlet and choose Tag Library.

For more information about creating and using custom tag libraries, see JavaServer Pages Specification, Version 1.2 available at http://java.sun.com/products/jsp , and Building Web Components, available at http://forte.sun.com/ffj/documentation .

See Also
Custom Tag Libraries
Customizing Tag Libraries
Customizing Tags
Packaging and Deploying a Custom Tag Library

Legal Notices