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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • 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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic