Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use multiple resource files in struts2

 
Vijay jai Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The argument to i18n.resources is a comma-separated list.
 
Vijay jai Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks David for solution. it worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic