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:[EMAIL PROTECTED]
> 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/[EMAIL PROTECTED]/msg
> 00846.html
> 
> for more info, explained more articulately.
> 
> Cheers, Simon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to