Initializing Application

2009-07-15 Thread Balwinder Kumar
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

Re: Initializing Application

2009-07-15 Thread David Canos
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

Re: Initializing Application

2009-07-15 Thread Paweł Wielgus
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

Re: Initializing Application

2009-07-15 Thread Balwinder Kumar
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