tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: getting classes to execute on tomcat startup.
Date Wed, 26 Jun 2002 16:54:03 GMT

I dont know, but I guess this might help : 


you can write and set up ServletContextListener.
it has events on when the context initializes, destroyes etc.

see the servlet api, for more instructions on how to implement one. 
see the tomcat docs on how to install it.

hope it helps
-reynir@hugsmidjan.is







> -----Original Message-----
> From: Anthony Geoghegan [mailto:antg@eircom.net]
> Sent: 26. júní 2002 15:46
> To: Tomcat Users List
> Subject: Re: getting classes to execute on tomcat startup.
> 
> 
> Is there any way of getting classes to initialise application scope
> variables on Tomcat startup without having to call a servlet or JSP?
> Best Regards,
> Anthony Geoghegan.
> J2EE & Oracle Consultant.
> 
> 
> --
> 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>


Mime
View raw message