struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <>
Subject Re: [S2] formatting informations in properties files
Date Tue, 02 Oct 2007 15:54:48 GMT
On 10/2/07, setecastronomy <> wrote:
> I wonder if there is a smarter and centralized way to store the formatting
> informations used in different jsp pages associated to different actions.

I believe you can either do it at the package level using something like:


Or you can set the struts.custom.i18n.resources constant in your
struts.xml file (or as a property in your file) to
an application wide resource:

<constant name="struts.custom.i18n.resources" value="application"/>

would make the file, located on the classpath,
an application wide resource.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message