struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: [OT] Struts / JSTL fmt:formatDate / Tomcat 4.1.24 lethal concoction
Date Fri, 02 May 2003 14:49:40 GMT
Have you reported this to the taglibs project?  We can't do much about it 
here.  Also, just to be clear, the JSTL tag is not broken, the apache 
implementation of it may be.


>From: "PILGRIM, Peter, FM" <>
>Reply-To: "Struts Users Mailing List" <>
>To: "Struts Users Mailing List (E-mail)" <>
>Subject: [OT] Struts / JSTL fmt:formatDate / Tomcat 4.1.24 lethal 
>Date: Fri, 2 May 2003 15:39:10 +0100
>WARNING: I have just found out that the <fmt:formatDate/> is broken.
>I got a Struts application which uses the JSTL FMT FormatDate tag
>in a HTML Table. The Standard Taglib 1.0.3 appears to be broken
>when used with Tomcat 4.1.24. I get repeated values and I have
>checked the database I/O and action form code with JDeveloper 9.0.3
>debugging. I looked into the implementation of the `FormatDateTag'.
>Nothing wrong there, then I looked into the actual JSP / Class.
>and found that Tomcat Jasper generates JSP using a custom tag
>reuse Pool. This appears to be culprit, because I cannot reproduce
>the error with Oracle 9iAS or with Resin.
>In the JSPC code I see the tag pool is initialised in _jspInit()
>and then released in `_jspDestroy()'. Effective the `Tag.release()'
>is only called in the `_jspDestroy()'. I tried doctoring some of
>the code in the `doEndTag()'
>public void doEndTag() {
>     ...
>     patternEL="";
>just for that particular `FormatDateTag'. It did not work. Not
>sure if there is work around for JSTL.
>I realise that this is not really Struts issue, but ...
>Peter Pilgrim,
>Struts/J2EE Consultant, RBoS FM, Risk IT
>Tel: +44 (0)207-375-4923
>       Visit our Internet site at
>This e-mail is intended only for the addressee named above.
>As this e-mail may contain confidential or privileged information,
>if you are not the named addressee, you are not authorised to
>retain, read, copy or disseminate this message or any part of it.
>The Royal Bank of Scotland plc is registered in Scotland No 90312
>Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB
>Regulated by the Financial Services Authority
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message