You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raphaël di Cicco <ra...@atosorigin.com> on 2004/06/04 16:10:59 UTC

Re: Reload Ressources on the fly

Eclipse (www.eclipse.org )does that for you.
----- Original Message -----
From: <st...@arcor.de>
To: <us...@struts.apache.org>
Sent: Friday, June 04, 2004 4:15 PM
Subject: Reload Ressources on the fly


> Hi,
> i am quite a newbie to struts and now i want to know, if there is a chance
to reload the messageressources after a change without restarting the
server.
> Greetz
> Olli
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


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


Re: Reload Ressources on the fly

Posted by James Mitchell <jm...@apache.org>.
I don't think that's what Mr. "Newsletter" meant.

You cannot reload message resources without modifying Struts and building
your own custom version.  This is due to MessageResources caching the
fomatted strings.  This will happen with a custom MessageResources
implementation as well.  The only way around it would be to clear the cache
with each call, which I don't recommend for anything outside of development.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx


----- Original Message -----
From: "Raphaël di Cicco" <ra...@atosorigin.com>
To: "Struts Users Mailing List" <us...@struts.apache.org>
Sent: Friday, June 04, 2004 10:10 AM
Subject: Re: Reload Ressources on the fly


> Eclipse (www.eclipse.org )does that for you.
> ----- Original Message -----
> From: <st...@arcor.de>
> To: <us...@struts.apache.org>
> Sent: Friday, June 04, 2004 4:15 PM
> Subject: Reload Ressources on the fly
>
>
> > Hi,
> > i am quite a newbie to struts and now i want to know, if there is a
chance
> to reload the messageressources after a change without restarting the
> server.
> > Greetz
> > Olli
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>



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