I figured it out.

Example:

<core:new var="newDate" className="java.util.Date"/>

<fmt:setLocale value="EN_US"/>

<fmt:formatDate var="myDate" dateStyle="medium" value="${newDate}"/>

Which makes myDate = Jul 31, 2003

Sean W. Ferguson wrote:
Hi,

I am slightly confused. I am trying to use the formatDate of the fmt tag library, and am not completely sure how it works. There are no unit tests of this tag, so I don't get any working examples. Could someone post an example of how it works?

Thanks


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to