In JavaServer Pages technology, actions are elements that can create and access programming language objects and affect the output stream. The JSP specification defines six standard actions that must be provided by any compliant JSP implementation. In addition to the standard actions, JSP technology supports the development of reusable modules called custom actions. A custom action is invoked by using a custom tag in a JSP page. A tag library is a collection of custom tags.
The xMatters web application includes the JSP Standard Tag Library. JSTL is a collection of JSP 1.2 custom tag libraries that implement basic functionality common to a wide range of server-side Java applications. It provides standard implementations for typical presentation-layer tasks such as data formatting and iterative or conditional content.
To declare that a JSP page will use tags defined in a tag library, include a taglib directive in the page before any custom tag is used.
The uri attribute refers to a URI that uniquely identifies the tag library. This URI is mapped to a location in the taglib element of the Web application deployment descriptor. The prefix attribute defines the prefix that distinguishes tags provided by a given tag library from those provided by other tag libraries.
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
More information about the JSTL core library is available at http://java.sun.com/products/jsp/jstl/.
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fn" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://jakarta.apache.org/taglibs/io-1.0" prefix="c" %>
More information about the IO Taglib library is available at http://jakarta.apache.org/taglibs/doc/io-doc/.
Any dependent libraries should be located under the extension library directory of the jetty web server. For example, to use the database drivers for DB2, the jar files must be copied into the webserver/lib/ext directory.