tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edoardo Panfili <>
Subject Re: tomcat startup processing
Date Sat, 23 Oct 2004 06:12:31 GMT
Didier McGillis wrote:
> is there away to have a jsp or something run some code on startup or to 
> have it cache some data results so that I dont have to keep on going to 
> the database each time the page is loaded.

I use some cached informations on my application, the information are stored
as static in a class, I put this configuration on web.xml


an the class is loaded ad startup.
After startup I can find cached information using ServerInit.yourMethod()


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

View raw message