While I haven't tried it yet. Have you looked into writing a custom MessageResourcesConfig or PropertyMessageResourcesFactory? You can easily pass one into your config http://jakarta.apache.org/struts/userGuide/configuration.html#resources_conf ig >From there you can implement your own MessageResources class that will look at a common properties (from option 2) if it can't find the message in the module specific resources. -Tim
-----Original Message----- From: David Holtzhouser [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 11:27 AM To: [EMAIL PROTECTED] Subject: Struts 1.1 Modules and application resources 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

