Tomcat 4.0.4 (and any Tomcat 4.x) supports JSP 1.2, and on JSP 1.2, you should use doFinally() to clear any invocation-specific state.
Shawn On 15 Oct 2002, Felipe Schnack wrote: > Yes, but probably I'll have doFinally only when I migrate to tomcat > 4.1.12 right? Right now I'm using tomcat 4.0.4, I want the 4.1.x to > become more stable before I upgrade my systems. I just want to keep my > taglibs as much compliant as they can be with these versions... > what you gurus suggest to me? > > On Tue, 2002-10-15 at 17:45, Shawn Bayern wrote: > > On 15 Oct 2002, Felipe Schnack wrote: > > > > > i don't know, but in my opinion, we shouldn't call release() at every > > > doEndTag(), but we should clean, for instance, tag attributes and these > > > such things. > > > > To reiterate, you should not reset tag attribute values in doEndTag(). > > doEndTag() should hardly ever perform cleanup at all, except to perform > > best-efforts cleanup of per-invocation resources under JSP 1.1. (In JSP > > 1.2, doFinally() is better for clearing per-invocation state because it's > > guaranteed to run.) > > > > -- > > Shawn Bayern > > "JSTL in Action" http://www.jstlbook.com > > > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>