does using a servlet's "destroy" method not guarantee enough finality?
a hack might be to have a servlet's destroy method "wait" for a time period
and then do your cleanup (if you want to ensure your other servlets have
been destroyed). It's a hack, but it might work.
If there's a better answer, I haven't found it.
fillup
On 5/23/02 11:54 PM, "Michael Reutter" <tomcat@meinsenf.at> wrote:
> Hi!
>
> I use tomcat 3.3.1!
>
> How can I tell tomcat, to run some code (delete temporary files in some
> directories) when shuting down (is there something like a "ContextListener" -
> like a "SessionListener")?
>
> thanks
> michael
>
>
> --
> To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|