tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud HERITIER" <aherit...@sopragroup.com>
Subject RE: Taglib on tomcat 4.1.24
Date Tue, 01 Apr 2003 12:54:01 GMT
doStartTag ??? 
isn't it doEndTag ??

If you release your properties at the end of the doStartTag, you can't use
them in the body.

But if I use the doEndTag, Shawn says that "doEndTag() is not necessarily
called at the end of every invocation (in cases of abnormal termination --
e.g., an exception thrown inside a tag's body or by one of its methods)"

I have the same problem than Pierre and didn't understand why.

Now I know and I'll correct my taglibs.

But why the release() method isn't called between two uses of the same tag
??

Is it a performance issue ???


Arnaud.

> -----Message d'origine-----
> De : Simon MacMullen [mailto:s.macmullen@ry.com]
> Envoyé : mardi 1 avril 2003 12:00
> À : Tomcat Users List
> Objet : RE: Taglib on tomcat 4.1.24
> 
> 
> > perhaps the new tomcat manager keep to much things in cache... 
> 
> Absolutely. Tag instances may be re-used. This means you can 
> only do setup for your tag at the last minute in doStartTag().
> 
> See
> 
> http://www.mail-archive.com/taglibs-dev@jakarta.apache.org/msg
> 00846.html
> 
> for more info, explained more articulately.
> 
> Cheers, Simon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


Mime
View raw message