I am getting ready to move a Struts 1.0.2 project to
1.1, and have a question regarding best practices for
using messages from the application resources.

Let's say I have 100 messages in my 1.0.2 project that
are in a single application.resources file.  With the
move to 1.1, I discover that 3 modules will have 30
module specific messages and 10 messages will be
global in nature and should be shared across all
modules.

It seems I have two options:
1)  Duplicate the common 10 messages in each modules
specific application resource file, suffering
duplication and potential update problems.
2)  Move the common 10 into the default module and
make multiple calls to getResources(request,
moduleName) in order to get those different module
resources.

Any suggestions would be greatly appreciated.

Thanks

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to