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 <[EMAIL PROTECTED]>
An:      Struts Users Mailing List <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> 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: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to