> From: "Tim Moore" <[EMAIL PROTECTED]> > Sent: Monday, February 03, 2003 9:30 AM > Subject: RE: Custom tag life cycle
> But I would do the initialization in doStartTag rather than doEndTag. > The latter may not be called if an exception is thrown from within the > tag body. The problem here is that the doStartTag is done after all of the properties are set. So, you don't know if a property value has been set from the current tag invocation or an earlier tag invocation. I think Felipes idea of using the doFinally as a "reset to default contructed state" is the smartest thing. I'd like to hope that the new JSP spec clarifies the lifecycle a bit better, taking in to account the aggressive caching that the containers are doing now. Regards, Will Hartung ([EMAIL PROTECTED]) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
