> I have some code I need to initialize when the servlet comes up for the
> first time.  How do I do that when I'm using struts and I do not have my
> own servlet?  Do I create a servlet just for this purpose?

If you need something that is initialized when your webapp starts, I would 
suggest to write a ContextListener. For more information look at:
http://wiki.metawerx.net/wiki/ContextListener

Btw, in Struts 2 you do not use servlets but Actions.

        Piero

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

Reply via email to