I'm working on a new Struts 2 application and wondering where to put
startup and initialization logic?

In previous projects I've always had other servlets that were part of
the applications and would put the logic in the Servlet init() method
but I don't have a servlet this time and there is no "struts servlet"
just the filter.

I want the startup logic to run when the application starts up (tomcat
starts) or when the application gets deployed, it needs to run as
early as possible, I definitely do not want to wait for the first
action request to come in.

How do you do this?

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

Reply via email to