There can be only one default message-resources.
Second message-resources should have "key" attribute.
You have to use this "key" attribute in jsp custom tags or... to locate second message-resources..


HTH
Manish Singla

Clark Kent wrote:
All,

I am trying to have 2 ApplicationResources.properties file each dealing with different sub-applications. I have created the 2 separate resource bundles along with different entries into the struts-config.xml as follows :

<message-resources null="false" parameter="xxx.dev.resources.ApplicationResources" />

<message-resources null="false" parameter="xxx.dev.resources.OtherApplicationResources" />

It seems to work fine for subapplication 2 but seems like the key-value pairs cannot be accessed in subapplication 1. Am I missing something?

Thanks,

CK







---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing


--
Thanks
Manish Singla
x73166


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



Reply via email to