In the web.xml file, you can give each servlet a loading order.  Just make 
sure your initilizing servlet has a lower number than the struts action 
servlet.

Jay

On Fri, 8 Feb 2002, Mark Woon wrote:

> Hello.
> 
> I've seen a few posts about initializer servlets that basically does
> whatever setup/housekeeping work needs to be done for the application.
> How do you guarantee that this servlet will run before anything
> else?  Is this something you can define within your servlet container?
> If so, does anyone know how you'd do this with Tomcat?
> 
> Thanks,
> -Mark
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


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

Reply via email to