Turns out you don't have to add anything to your web.xml file since Struts
automatically loads all <plug-in> elements upon startup and invokes their
"init" methods.  So problem has been solved.

Thanks to all, - 


Antonio Petrelli-3 wrote:
> 
> 2009/4/2 laredotornado <laredotorn...@gmail.com>:
>> I'm looking into this plug-in idea, and although it forces you to define
>> an
>> "init" method, it is not a servlet so how do you call it's init method
>> upon
>> application startup?
> 
> Specify the "load-on-startup" element:
> http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1016508
> 
> Antonio
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-execute-this-action-servlet-on-startup--tp22828237p22857721.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to