Viral: Look at "Struts Tips" by Ted Husted on the struts home page. I am pretty certain he discusses this very issue in detail. (I can't seem to get to that link right now hence cannot verify..)
hth, Geeta > -----Original Message----- > From: Andrew Hill [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 8:01 AM > To: Struts > Subject: RE: application configuration > > > Thats one approach. The other is to use a struts plugin. > I guess its a matter of taste. My personal preference is for > plugins but > either way also can. > > -----Original Message----- > From: Viral_Thakkar [mailto:[EMAIL PROTECTED] > Sent: Thursday, 8 July 2004 19:56 > To: Struts Users Mailing List; [EMAIL PROTECTED] > Cc: Nilesh Suresh Rajurkar > Subject: RE: application configuration > > > > Now I want this class to run as soon as server starts... how > to achieve > this ..?? > > One approach ...to create a servlet and configure it in web.xml with > <load-on-startup>1</load-on-startup> > > Is this ok...or is there any better approach to do the same thing..? > > Regards, --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]