Set multiple resource per line in your struts.xml file, separated by commas, for example:

<constant name="struts.custom.i18n.resources" value="globalMessages,Resources1,Resources2" />


On May 6, 2009, at 4:53 AM, Sonu S wrote:

Hi,

I am trying to use two or more resource files in struts2, like this

struts.custom.i18n.resources=Resources1
struts.custom.i18n.resources=Resources2

but it is not working (in JSP pages only values from Resource2 are being
displayed and for keys are being displayed from resource1)

please tell me how to use multiple resource files in struts2

Thanks

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to