Joda Time - JSP tags

Joda-Time provides a complete quality alternative to the JDK date and time classes. However, this causes issues when working with other libraries that expect a JDK object, such as the JSTL JSP tag library.

To solve this problem, the Joda-Time JSP tags contributed project provides a JSTL-like set of tags that format and parse Joda-Time based date and time objects instead of JDK based objects.

As a flavour of the tags, here's how to format a Joda-Time object in JSP:

  <%@taglib prefix="joda" uri="" %>
  <% pageContext.setAttribute("now", new org.joda.time.DateTime()); %>
  <joda:format value="${now}" style="SM" />
Version 1.1.1 was released on 2011-11-24 - Download now


Various documentation is available:


Release 1.1.1 is the current latest release. This release is basically the same as v1.1, but with altered OSGI info.

The dependencies are Joda-Time 1.0 or later (including v2.0 or later), the Servlet 2.4 API, the JSP 2.0 API, JSTL 1.1 API and JDK 1.5 or later. All maven dependencies are provided, thus there is no automatic dependency resolution.


The Joda-Time JSP tags library was contributed to Joda-Time by Jim Newsham. It is based on the code from Jakarta Taglibs, now Tomcat Taglibs.

For support on bugs, using the library or to volunteer please contact the mailing list. Due to spam, you must be subscribed to post to the mailing list.