<%@ taglib uri="http://jakarta.apache.org/taglibs/jspspec-1.0" prefix="j" %> Examples of JSPSPEC Custom Tag Library Tag Usage The jspspec tag library contains working examples of the custom tags described in the JavaServer Pages Specification, version 1.1.
The foo tag presents no tangible result, although it is used here.
The bar tag defines a new scripting object that is visible throughout the remainder of the current page. The name of the scripting variable is the value of the id attribute.

The value of the scripting variable constructed by this tag is: '<%= newbean %>'.