The safe bet is to have the default in both config files. It should be relatively easy (a couple 2-3 deployments) to test whether or not you need it in both places.
My 2 cents,
Curtis -- c dot tee at verizon dot net
Ashutosh Satyam wrote:
Still waiting if somebody can reply to the below question which I had posted yesterday.
Regards, Ashutosh
-----Original Message-----
From: Ashutosh Satyam Sent: Thursday, March 11, 2004 11:22 AM
To: Struts Users Mailing List
Subject: On usage of Resource Bundle
Hi, I needed one small clarification regarding the usage of resource bundle. My web application is divided into two sub modules i.e. basically the application uses two struts configuration file. I'm going to have only one resource bundle. Now, is it necessary to have <message-resources> tag configured in both the struts configuration file? Will providing the configuration at one place won't suffice? Since, MessageResources objects are created by the controller i.e. ActionServlet and saved in the ServletContext using either a generic key Globals.MESSAGES_KEY or the key provided as part of the 'key' attribute. So, I feel it should be accessible to the Action classes, which are part of the other struts configuration file too.
Is my understanding correct? Anyone who can provide me a better insight on the same will be useful.
Regards, Ashutosh
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]