struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JOSE L MARTINEZ-AVIAL <jlm...@gmail.com>
Subject Re: Localice text through hierarchy.
Date Thu, 20 Jan 2011 14:47:50 GMT
Anyone has any idea how to avoid this?.

Thanks

JL

2011/1/17 JOSE L MARTINEZ-AVIAL <jlmagc@gmail.com>

> 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 directory, and the
> other one in com.acme. MyAction is trying to use a text defined in the first
> one, but it seems that once LocalizedTextUtil  has located
> com.acme.package.properties, and not found the text, it doesn't try to go up
> in the hierarchy, and therefore it does not return the text. Is that
> behaviour correct?
>
>     Thanks
>
> Jose Luis
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message