Hi,
I've been troubleshooting an intermittent problem in which JSTL fmt:formatDate in a JSP page renders in the raw Date format instead of the intended format.
Since it is an intermittent problem, I decided to "automate" accessing the page using JMeter, instead of clicking reload for the day. :-)
The page is supposed to show a date of the form like "Jul 7, 2004". About once a day, it will show the raw Date format, like "2004-07-07 00:00.0". I'm trying to figure out why it does that. Could be the caching I use, or a problem with the JSTL.
But, the strange thing is when I set up JMeter to hit the page and test the results, it *always* returns the raw Date format. In other words, I expected JMeter to show me that I was getting "Jul 7, 2004" most of the time and I'd be able to find that infrequent occasion in which it gives me the raw Date. Instead, it *always* returns the raw Date.
I don't understand how this happens. JMeter should be getting the same thing I get with a browser, right?
I'd appreciate any help you can give! Thanks!
Environment: Sun Solaris 9 Tomcat 5.0.19 JSTL 1.1
Code fragment: <fmt:formatDate value="${release}" pattern="MMM dd, yyyy"/>
release is a Date.
==Leonard E. Sitongia VETS / Scientific Computing Division National Center for Atmospheric Research P.O. Box 3000 Boulder CO 80307 USA [EMAIL PROTECTED] voice: (303)497-2454 fax: (303)497-1829
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]