struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Schepers <marcel.schep...@libereco.biz>
Subject Re: [OT] looking for a method that will be called on application startup
Date Mon, 02 Feb 2004 13:07:47 GMT
Hi Arne,

A solution could be create an initialization servlet. Include that
servlet in your web.xml and make sure you provide a <load-on-startup>
parameter.

Marcel

On Mon, 2004-02-02 at 13:59, Arne Brutschy wrote:
> hi,
> 
> I'm looking for a method/hook/whatever that will be called from tomcat 
> at application startup. I want to use it to put all my init-stuff (as 
> configuration reading) into it.
> 
> At the moment, my authentication filter looks for the presence of these 
> objects in application scope, and if they are not found, they will be 
> created.
> 
> Is there another way to do this more nicly?
> 
> Regards,
> Arne
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message