Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
    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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Date pattern format problem JSTL tags

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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
  • Report post to moderator
Hi,

I got the issue. Problem with Locale settings.

Thanks,
LALITH
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic