tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <>
Subject Re: Loading Properties File at start-up or in Application Scope
Date Mon, 31 Oct 2005 00:13:37 GMT
From: "Rahul Joshi" <>
> I can load the properties file in the class file but I
> want to load it as the Tomcat starts so that the
> properties file is not loaded again and again.
> Something like storing this in the application scope.
> How can I do this?

Use a ServletContextListener:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message