tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Do tag files get pooled
Date Tue, 04 Nov 2003 19:25:38 GMT
I think tag pooling was dropped for 5. (I can't remember) Benchmarks never 
showed a measureable performance increase. See the archives for tomcat-dev 
possible disscusions.


Christopher Schultz wrote:
> John,
>> I have noticed in the generated java files that tags that are java
>> classes seem to get pooled ok, but tag file (jsp tags) do not seem to
>> get pooled at all.. Has anyone else seen this and if so is it by design.
> I assume you mean instances of JSP tag libraries being used in JSP files.
> The specification contains methods to setup and re-set tag objects so 
> that they can be pooled and/or reused. It occurs to me that I've looked 
> at the generated Java source code from a JSP for Tomcat 4.1.x, and the 
> instances are not pooled.
> I was actually a little disappointed because the Tomcat guys are 
> generally pretty clever, and I'd think that someone would get a huge 
> hard-on after get this working (I know I would).
> Does anyone know about Tomcat 5? I'd love to actually contribute to the 
> project, but I haven't looked at line 1 of code from any of the releases 
> (okay, so I hacked DataSourceRealm to add some logging when I was pissed 
> off, but I don't know anything about how the JSP engine works).
> -chris

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

View raw message