All,
I remember doing this back in the days, but I can't seem to find a good and quick reference on the best way to do this. So here I am posting in the ranch forum.
I'm writing a web app using Struts2. What I needed is a way to call one of the Struts2 action when the web application is started.
I tried to find ways to bind a Struts2 action into the <
servlet><load-on-startup /> declared in web.xml, but I can't seem to find a straightforward way to do it?
if you have better ways or a different suggestion, pleaselet me know. I am open for approach & ideas. Thanks!
Regards,
Zen.