tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16808] - Jasper makes calls to tag setters that 1.2 spec says it doesn't have to
Date Wed, 30 Apr 2003 02:18:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16808>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16808

Jasper makes calls to tag setters that 1.2 spec says it doesn't have to

dmkarr@earthlink.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From dmkarr@earthlink.net  2003-04-30 02:18 -------
Of course "${foo}" doesn't change from iteration to iteration, because as far as
the container can see, this is just a static string.  The specification makes it
relatively clear (perhaps by implication) that if two instances of a tag use the
same attribute values (as they would be for the same occurrence in a loop), then
the handler instance can be reused.

In any case, I long ago changed my tag library (Struts-EL, in the Struts
distribution) to no longer assume this, but the fact remains that Tomcat doesn't
take advantage of this optimization, and Resin does.  This subject was discussed
much on the struts-dev list (and others, perhaps) about the time I wrote this
report.

And this certainly does apply to my case.  A similar test case in Resin
demonstrated that the tag handler instance was reused, but not in Tomcat.

Obviously, I wouldn't consider this a bug, but I think it's still valid to mark
this as an enhancement.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message