Initializing Application
Hi All, I am trying to develop a framework based on Struts 2, I am finding it very difficult to decide where to put the code that is generally called in ActionServlet init method. Any pointer towards this. Thanks in advance. Regards, Balwinder Kumar - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Initializing Application
I think Struts 2 uses a Struts2Filter to do the init issues of the each request 2009/7/15 Balwinder Kumar balwinder@gmail.com Hi All, I am trying to develop a framework based on Struts 2, I am finding it very difficult to decide where to put the code that is generally called in ActionServlet init method. Any pointer towards this. Thanks in advance. Regards, Balwinder Kumar - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Initializing Application
Hi, i'm initing my apps by implementing ServletContextListener and registering it in web.xml like that: web-app listener listener-classcom.my.ServletContextListenerImplementation/listener-class /listener /web-app It has nothing to do with struts but i hope that's what You are looking for. Best greetings, Paweł Wielgus. 2009/7/15 David Canos davidca...@gmail.com: I think Struts 2 uses a Struts2Filter to do the init issues of the each request 2009/7/15 Balwinder Kumar balwinder@gmail.com Hi All, I am trying to develop a framework based on Struts 2, I am finding it very difficult to decide where to put the code that is generally called in ActionServlet init method. Any pointer towards this. Thanks in advance. Regards, Balwinder Kumar - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Initializing Application
Thanks Pawel and David for your response. I would like to evaluate both option before proceeding. Regards, Balwinder Kumar Paweł Wielgus wrote: Hi, i'm initing my apps by implementing ServletContextListener and registering it in web.xml like that: web-app listener listener-classcom.my.ServletContextListenerImplementation/listener-class /listener /web-app It has nothing to do with struts but i hope that's what You are looking for. Best greetings, Paweł Wielgus. 2009/7/15 David Canos davidca...@gmail.com: I think Struts 2 uses a Struts2Filter to do the init issues of the each request 2009/7/15 Balwinder Kumar balwinder@gmail.com Hi All, I am trying to develop a framework based on Struts 2, I am finding it very difficult to decide where to put the code that is generally called in ActionServlet init method. Any pointer towards this. Thanks in advance. Regards, Balwinder Kumar - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org