Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8529971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:09:03+00:00 2026-06-11T09:09:03+00:00

When writing a sitemap I have run into this problem: JSTL fmt tag does

  • 0

When writing a sitemap I have run into this problem: JSTL fmt tag does not work in IE? and solved it using . Great.

Interestingly I ran into it only in a subset of applications running in the same install of Tomcat7.

Is there a mechanism where some apps can have a different locale to others? As far as I can see the boilerplate code is the same as the only differences are is output HTML (not logic). All the fmt tags are using the same initilisation and pattern with the same return type (same data returned to multiple pages).

CODE!

Setup (in page)

<jsp:useBean id="WorkshopLatestUpdateProcessBean" scope="page" class="com.themetacity.beans.WorkshopProcessBean"/>
<c:set var="workshopUpdateDate" value="${WorkshopLatestUpdateProcessBean.lastUpdateDate}"/>

<fmt:formatDate value="${workshopUpdateDate}" pattern="yyyy-MM-dd"/>

The above will give a result of

28-8-12

and another app will give

Tue Aug 28 18:54:38 EST 2012

which is the problem linked to at the top of this questions

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:09:04+00:00Added an answer on June 11, 2026 at 9:09 am

    It turns out that this is expected behaviour because I was terrible at initialising the value passed to the tag.

    If you pass in uninitialised values it defaults to the time stamp of when the page was rendered as shown in the problem above. Initialise it in the c:set part and all is well.

    TL:DR there was no problem and I am bad at this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Writing a python program, and I came up with this error while using the
Writing something like this using the loki library , typedef Functor<void> BitButtonPushHandler; throws a
Writing an HTTP simple server on top of Net node.js module, not using HTTP
Writing a test app to emulate PIO lines, I have a very simple Python/Tk
Writing an asynchronous Ping using Raw Sockets in F#, to enable parallel requests using
Writing my first C# application...never touched the language before and not much of a
I am writing a set of functions to generate a sitemap for a website.
I am writing a function to dynamically generate my sitemap and sitemap index. According
Writing a lexer of .java source files in Java. I have a stream of
Writing some classes for a Framework extension, and I have the following code: public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.