--- JiVi <[EMAIL PROTECTED]> wrote: > I'm new to Struts2 . I dont know about Struts1.x either. Jus thought of > starting with Struts2. > > I'm creating a web application. I jus want to initialize the system before > the application startup. Like reading certain config files, initializing > the > Connection Pool, creating DAO factory.. etc. > I read somewhere that Struts1 has plugins to support this. But i couldnt > find anything in Struts2. > Please help me out.
You may want to use a ServletContextListener. http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]