struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From user_str...@arcor.de
Subject Aw: Re: Reload Ressources on the fly
Date Fri, 04 Jun 2004 14:36:26 GMT
Thanx James, that was the point. 
I have another question, is there a possibilty to clear the cache with a method call or something?
I only need to change the MessageRessources from time to time...

----- Original Nachricht ----
Von:     James Mitchell <jmitchell@apache.org>
An:      Struts Users Mailing List <user@struts.apache.org>
Datum:   04.06.2004 16:25
Betreff: Re: Reload Ressources on the fly

> 
> 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" <raphael.dicicco@atosorigin.com>
> To: "Struts Users Mailing List" <user@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: <struts_newsletter@arcor.de>
> > To: <user@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


Mime
View raw message