Apache Taglibs

Apache Taglibs provides open source implementations of Tag Libraries for use with Java Server Pages (JSPs). In particular, it hosts the Apache Standard Taglib, an open source implementation of the Java Standard Tag Library (JSTL) specification.

Apache Standard Taglib

The Apache Standard Taglib implements JSTL 1.2 and supports request-time expressions that are evaluated by the JSP container.

In addition, compatibility for applications using 1.0 expression language tags can be enabled in one of two ways:

  • Using the -jstlel jar supports JSTL 1.0 EL expressions by using the EL implementation originally defined by JSTL itself.
  • Using the -compat jar supports JSTL 1.0 EL expressions by using the container's implementation of EL to take advantage of newer functionality and potential performance improvements in more modern versions.

Download | Changes

Please see the README file for more detailed information on using the library.

For performance reasons the XML tags use Apache Xalan directly for evaluating XPath expressions. The Xalan 2.7.1 implementation jars xalan.jar and serializer.jar must be added to the classpath.

The Standard Taglib jars may be packaged with a web-application in its /WEB-INF/lib directory, or may be made available to all applications in a container by adding them to the container's classpath.

Jakarta Taglibs

Apache Taglibs were originally developed as part of the Apache Jakarta project. That project has officially been retired and the original tag libraries moved to the Apache Attic.