struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CRANFORD, CHRIS" <Chris.Cranf...@setech.com>
Subject RE: reloading config & i18n
Date Tue, 25 Jan 2011 20:20:31 GMT
Do I have to be on 2.2.1 for all this to work?

I am presently on 2.1.8.1 and have precisely those settings; other than
my resource filename being different; yet when I make changes to my
resource files text and refresh the browser page; no changes are
reflected.

> -----Original Message-----
> From: stanlick@gmail.com [mailto:stanlick@gmail.com]
> Sent: Tuesday, January 25, 2011 1:44 PM
> To: Struts Users Mailing List
> Subject: Re: reloading config & i18n
> 
> With 2.2.1, shove all this in your struts.xml and if it works, just
> smile
> and don't look back:
> 
> <constant name="struts.devMode" value="true" />
> <constant name="struts.i18n.reload" value="true" />
> <constant name="struts.custom.i18n.resources" value="global-messages"
> />
> <constant name="struts.configuration.xml.reload" value="true" />
> 
> Peace,
> Scott
> 
> On Tue, Jan 25, 2011 at 12:26 PM, CRANFORD, CHRIS
> <Chris.Cranford@setech.com
> > wrote:
> 
> > I have set devMode=true and both reload config and i18n properties
to
> > true for my development environment.  It doesn't matter whether
> Tomcat
> > is ran inside of MyEclipse or whether I run it stand alone, while I
> see
> > the devMode error reports; I don't see the reload functionality
> working
> > at all.
> >
> > I have verified that when changes are made to the files, they are
> pushed
> > to the webapp's directory, timestamps appear to be updated; however
> the
> > webapp isn't reloading these.  Am I missing something?
> >
> > I am on Windows 7.
> >
> >
> >
> >
---------------------------------------------------------------------
> > 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


Mime
View raw message