ginal Message-
From: Steven Yang
Date: Fri, 21 Jan 2011 13:09:12
To: Struts Users Mailing List
Reply-To: "Struts Users Mailing List"
Subject: Re: Localice text through hierarchy.
IIRC, LocalizedTextUtil looks for package according to the Class hierarchy.
What I mean is if your MyAction
IIRC, LocalizedTextUtil looks for package according to the Class hierarchy.
What I mean is if your MyAction extends Struts' ActionSupport then after
looking a MyAction.properties and the package.properties in the same package
it will be looking for ActionSupport.properties and package.properties in
Anyone has any idea how to avoid this?.
Thanks
JL
2011/1/17 JOSE L MARTINEZ-AVIAL
> Hi,
> I'm using Struts 2.1.8.1, and I've found an odd behaviour in the way
> LocalizedTextUtil looks for a text. The situation is a follows:
>
> package.properties
> com/
> acme/
> package.prop
Hi,
I'm using Struts 2.1.8.1, and I've found an odd behaviour in the way
LocalizedTextUtil looks for a text. The situation is a follows:
package.properties
com/
acme/
package.properties
actions/
MyAction.
So I have two package.properties, one at the root d
4 matches
Mail list logo