You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shyamal Mehta <sh...@gmail.com> on 2007/11/30 10:17:20 UTC

Application initialization at startup

For struts 2 what is the recommended/best way of executing any
application specific code at application startup?
In struts 1.x we used to create a plugin and configure its
"startOnLoad" property to true.

Thanks,
SM

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


Re: Application initialization at startup

Posted by Gabriel Belingueres <be...@gmail.com>.
you could use a servlet context listener.

Gabriel

2007/11/30, Shyamal Mehta <sh...@gmail.com>:
> For struts 2 what is the recommended/best way of executing any
> application specific code at application startup?
> In struts 1.x we used to create a plugin and configure its
> "startOnLoad" property to true.
>
> Thanks,
> SM
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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