I'm trying to format a date from my model using JSTL:
<fmt:formatDate value="${test.myDate}" type="date" pattern="dd/MM/ yyyy"/>
When I do this, I get the following error:java.lang.IllegalArgumentException: Cannot convert 2007-11-29T15:53:22 of type class org.apache.xmlbeans.XmlCalendar to class java.util.Date
Is there a way to convert an XmlCalendar date object using the standard tag libraries?
Thanks, Steven