Adding a taglib directive to a JSP file
Before you can insert custom tags in your JSP file, you must insert a JSP taglib directive into the JSP page to obtain a tag library location.
Before you begin
Procedure
- Open the JSP file in the Web Page Editor. Right-click it and select .
- Open the palette. Click
- Drag and drop a Directive -taglib from the JSP Tags in the palette.
- Click the Directive -taglib object in the editor. Go to the Properties view and open the Attributes tab.
- Edit the properties of the directive by adding a prefix, tagdir, and uri.
- Save the page.