struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Black <jeffblac...@gmail.com>
Subject Re: Multiple Message Resources Files
Date Wed, 28 Dec 2011 15:09:54 GMT
Forgive me for not fully understanding your question.

Perhaps this link will help:
http://struts.apache.org/2.x/docs/localization.html

jb

On Wed, Dec 28, 2011 at 12:49 AM, Maithily <maithily.kohale@gmail.com>wrote:

> Hi All,
>
> I am facing the following problem with the struts message resources files -
>
> - Our application has many functional modules and each module a struts
> config file and message resources file.
> - Common message resources are bundled in a single file - say
> "Commonresources.properties"
> - Mistakenly I configured the "message-resources" in more than one struts
> config file with -
>     <message-resources parameter="Commonresources"/>
>  I found this out when debugging the display issue of some of the  error
> messages were not displayed.
> - When I removed the message-resources tag from these files, the messages
> are displayed.
>
> Has any one faced a similar issue before?
>
> I want to understand what is caused if the same properties file is referred
> to by 2 different struts config files for the messages to be found?
>
> Any help will be appreciated.
>
> Thanks,
> Maithily.
>



-- 
Best,

Jeffrey Black
512-537-9871
jeffrey.black@yahoo.com
------------------------------
Connect with me on LinkedIn: http://www.linkedin.com/in/jeffreyblack
Follow me on Twitter: http://twitter.com/jeffblack360
Check out my blog: http://jeffblack360.wordpress.com

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