struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: How do I execute this action servlet on startup?
Date Thu, 02 Apr 2009 21:23:09 GMT
2009/4/2 laredotornado <laredotornado@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message