struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Yu <j...@scioworks.com>
Subject RE: Reloading struts-config.xml
Date Fri, 13 Sep 2002 03:15:48 GMT

See 
http://www.scioworks.net/devnews/strutsDistilled/updates/update-020811/reload.html


At 12:12 am 13-09-2002, you wrote:
>Maybe was question was quite confusing ...
>First, I'm talking about Struts 1.1b2
>Second, the problem is during development only :
>I don't want to have to reload my entire webapp everytime I make a little
>update to the struts-config.xml !
>is there any way to reload struts-config.xml on runtime, without redeploying
>the application ?
>
>for example, in Struts 1.0, ther was an admin action that you can call from
>a specific servlet that was added in the example webapp, but it seems to
>have disappear in 1.1b2 ...
>
> > -----Original Message-----
> > From: Michael Lee [mailto:mleejr@hotmail.com]
> > Sent: jeudi 12 septembre 2002 16:55
> > To: Struts Users Mailing List
> > Subject: Re: Reloading struts-config.xml
> >
> >
> > I use Weblogic 6.1sp3. I put everything in my WAR. The struts app goes in
> > WEB-INF/lib/struts.jar and the struts-config.xml goes in the
> > WEB-INF dir. I
> > even have a resource bundle in there.
> > It all gets reloaded upon deployment!
> > VERY nice feature.
> > In a nutshell, if your container can class load your app again from a war
> > then there is one solution.
> > Mike
> >
> > ----- Original Message -----
> > From: "Galbreath, Mark" <Galbreath@tessco.com>
> > To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> > Sent: Thursday, September 12, 2002 8:58 AM
> > Subject: RE: Reloading struts-config.xml
> >
> >
> > AFAIK, no.  struts-config.xml is loaded into memory upon the first
> > instantiation of  ActionServlet and stays resident until the container is
> > rebooted.
> >
> > Mark (right, guys?)
> >
> > -----Original Message-----
> > From: phpsurf [mailto:phpsurf@ifrance.com]
> > Sent: Thursday, September 12, 2002 8:33 AM
> > To: Struts Users Mailing List
> > Subject: Reloading struts-config.xml
> >
> >
> > Hi
> >
> > I'm new to struts, so I apologize in advance if my question has already
> > shown up ...
> >
> > I would like to know if there is a way to setup struts (in
> > development mode)
> > to automatically reload its configuration file when it has been modified.
> > Or how can I make it reload the file, on demand, without having
> > to redeploy
> > the entire webapp ?
> >
> > thanks
> >
> >

-- 
John Yu                       Scioworks Technologies
e: john@scioworks.com         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"
Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message