tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A Mohan rao" <am...@careind.net>
Subject RE: When does jspDestroy actually run, and why doesn't it appear to be running at all?!
Date Thu, 29 Nov 2001 18:07:28 GMT
if the servlet itself is not loaded , then how do jspdestroy will get
loaded

> -----Original Message-----
> From:	Justin Rowles [SMTP:JRowles@ordsvy.gov.uk]
> Sent:	Thursday, November 29, 2001 8:34 PM
> To:	'Tomcat Users List'
> Subject:	RE: When does jspDestroy actually run, and why doesn't
> it appear to be running at all?!
> 
> I'm re-sending this - can anyone please advise?  Can anyone confirm
> that
> they get the jspDestroy method run at unload time?
> 
> J.
> 
> > -----Original Message-----
> > 
> > I have a JSP class with a piece of code like this:
> > 
> > <%! public void jspDestroy() {
> > 	~~~code~~~
> > %>
> > 
> > The code performs some logging, which I want to use to check 
> > that sessions
> > are timing out correctly.  Timeout is set in the main body 
> > using this code:
> > 
> > request.getSession().setMaxInactiveInterval(3);
> > 
> > I do not see the logging when I have waited >3 minutes or when I
> have
> > stopped the Tomcat service.
> > 
> > Can anyone confirm that this is a correct approach for 
> > timeouts, and, more
> > importantly that the jspDestroy method should be running and 
> > why it does not
> > appear to be :(
> > 
> > Thanks in advance.
> > Justin.
> > -- 
> > Justin Rowles
> > E-Delivery Team
> > C478
> > "We live to serve" 
> 
> 
> 
> ***************************************************************
> For more information on Ordnance Survey products and services,
> visit our web site at http://www.ordnancesurvey.co.uk
> ***************************************************************
> 
> 
> 
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message