Hello,
Which is the input format in the dateFormat tag of JSTL.??
I'm trying to format a date in long format like MONDAY 10 JULY 2001 using the fmt tag 
library.
I read the date field from a SQLserver DB, and I always got an Invalid date. (The same 
if I use the datetime tag library)
 
<fmt:formatDate  pattern="EEEE d MMMM yyyy"><c:out value="${day}"/></fmt:formatDate  >.
 
So I thought that the date coming from db is invalid and I put a parseDate inside:
<fmt:formatDate  pattern="EEEE d MMMM yyyy"> <fmt:parseDate 
pattern="yyyyMMdd">1999/07/01</fmt:parseDate> </fmt:formatDate>
 
and I got the same error Unparsable date.
Please help me.
 

  
Andrea Grittini ( < mailto:[EMAIL PROTECTED]>)
Tel: +39-2-97482.1- Fax: +39-2-97482?
Computer Design S.r.l., Via Piave 46 - 20010 S.Stefano Ticino - ITALY
< http://www.cdesign.it/> 
  

 

Reply via email to