Certainly you can do it. As if you are using Struts
you can do it with use of plug-ins in
struts-config.xml as Plug-ins get invoked when server
starts. 

I wrote a plug-in which goes to database at starup of
system and stores state information in application
context.

Hope it will help.

Thanks
Vivek


--- Didier McGillis <[EMAIL PROTECTED]> 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.
> 
>
_________________________________________________________________
> Powerful Parental Controls Let your child discover
> the best the Internet has 
> to offer.  
>
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
> 
>   Start enjoying all the benefits of MSNŽ Premium
> right now and get the 
> first two months FREE*.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to