Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Date pattern format problem JSTL tags

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

Sometimes i am facing the problem while displaying the data in my dashboard jsp page.It is showing the date as "2006-07-12" format.Sometimes it is showing as '07/12/2006'. I have used the following code to show the date in MM/dd/yyyy format.

<fmt:formatDate value="${transaction[1].meetingDate}" pattern="MM/dd/yyyy" />

Here 'meetingDate' datatype is java.util.Date.

But i am not able to see the date correctly at all times. Please help me in this regard.

Thanks in Advance,
LALITH
[ November 08, 2006: Message edited by: lalitha prasad ]
 
lalitha prasad
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi,

I got the issue. Problem with Locale settings.

Thanks,
LALITH
 
    Bookmark Topic Watch Topic
  • New Topic