Well - there are a number of ways of doing this.

One way is to create a servlet and have it load on
startup and do the work there.

Sandeep
--- [EMAIL PROTECTED] wrote:
> Hi
> 
> I have some beans which I want to be visible
> application wide.  I want 
> them to be initilised when my struts application is
> started.  Is there a 
> mechanism in struts I can use to make a java program
> run as part of the
> initilisation process.  I would put the intilising
> code into a file 
> called InitiliseWebApp.java,  this would initilise
> the beans and add 
> them to the application scope.
> 
> Cheers
> 
> Antony
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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

Reply via email to