Yes I was looking to "not do something" in the destroy() method if its just the case that the servlet is being reloaded by the server. Otherwise, if the server was actually going through a shutdown process then I want my destroy() method to do something.
-Mark Joseph Molnar wrote: > Are you looking to take different action during the actual destroy call > itself? > > Joe > > ----- Original Message ----- > From: "Mark Diggory" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Wednesday, April 03, 2002 9:08 AM > Subject: Re: Servlet Destroy Method.... > > > >>I'm looking for something more explicit, like a Servlet Engine status >>code or something... that identifies the state of the Servlet Engine. >> >>-thanks for the reply, >>Mark Diggory >> >>Joseph Molnar wrote: >> >> >>>Hi Mark. >>> >>>Easiest way would be write something to disk (file/log-file). >>> >>> >>>---------------------------------------- >>>Joseph Molnar >>>http://www.codesta.com/ >>> >>> >>>----- Original Message ----- >>>From: "Mark Diggory" <[EMAIL PROTECTED]> >>>To: <[EMAIL PROTECTED]> >>>Sent: Wednesday, April 03, 2002 8:33 AM >>>Subject: Servlet Destroy Method.... >>> >>> >>> >>> >>>>Hi all, >>>> >>>>Is there a way I can test if the Servlet is being destroy()ed because >>>>the tomcat server is being shutdown as opposed to the Servlet being >>>>reloaded? >>>> >>>>-Mark Diggory >>>> >>>> >>>>-- >>>>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>>>For additional commands: <mailto:[EMAIL PROTECTED]> >>>>Troubles with the list: <mailto:[EMAIL PROTECTED]> >>>> >>>> >>>-- >>>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>>For additional commands: <mailto:[EMAIL PROTECTED]> >>>Troubles with the list: <mailto:[EMAIL PROTECTED]> >>> >> >> >>-- >>To unsubscribe: <mailto:[EMAIL PROTECTED]> >>For additional commands: <mailto:[EMAIL PROTECTED]> >>Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
