thank u,
You helped me to find my stupid problem.
it was that i had defined tag lib as
<%@ taglib uri="/WEB-INF/fmt.tld"
       prefix="f" %>

and not as fmt.

regards

flare wrote:

Hi all
I've the following problem:
if I try to use
<fmt:formatDate value="${currentCalendar.validityEnd}" type="date"/>
nothing is displayed.

validityEnd is of type java.sql.Date (and not null) what shoud I do to
format it ? thx, kiuma


perhaps you forgot <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>

I usually use
<fmt:formatDate pattern="dd/MM/yy" value="${scopedVar.data}"/>
to format java.sql.Date and works like a charm
regards
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

.



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to