RE: Load an .xml file when server start up

2007-04-19 Thread Zhang, Larry \(L.\)
: RE: Load an .xml file when server start up > On 4/18/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: > > I need to load an .xml file when Websphere server starts up. I am > > using Struts ActionServlet as the only servlet in the app and I do > > have

Re: Load an .xml file when server start up

2007-04-19 Thread Lance
You could implement a javax.servlet.ServletContextListener that is notified when your webapp loads / reloads. Needs to be attached to your webapp in web.xml. zhangfan wrote: On 4/18/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: I need to load an .xml file when Websphere server starts u

RE: Load an .xml file when server start up

2007-04-19 Thread zhangfan
> On 4/18/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote: > > I need to load an .xml file when Websphere server starts up. I am > > using Struts ActionServlet as the only servlet in the app and I do > > have a CustomProcessor extending TilesRequestProcessor. I am trying to > > load the .xml fil

RE: Load an .xml file when server start up

2007-04-19 Thread nagesh.kumar
--Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 4:46 AM To: Struts Users Mailing List Subject: Re: Load an .xml file when server start up I've never actually used it but I think the DigestingPlugIn might do this for you http://tinyurl.com

Re: Load an .xml file when server start up

2007-04-18 Thread Niall Pemberton
I've never actually used it but I think the DigestingPlugIn might do this for you http://tinyurl.com/2kzh8b Having said that probably the best plan would be to create your own ServletContextListener to do this which would be independant of Struts http://java.sun.com/products/servlet/2.3/javado

Load an .xml file when server start up

2007-04-18 Thread Zhang, Larry \(L.\)
I need to load an .xml file when Websphere server starts up. I am using Struts ActionServlet as the only servlet in the app and I do have a CustomProcessor extending TilesRequestProcessor. I am trying to load the .xml file when the server starts up. I configured to load ActionServlet when server st