: 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
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
> 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
--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
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
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
6 matches
Mail list logo