A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
how to use multiple resource files in struts2
Vijay jai Singh
Greenhorn
Joined: Jan 07, 2009
Posts: 26
posted
May 06, 2009 01:40:13
0
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
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
May 06, 2009 04:41:34
0
The argument to i18n.resources is a comma-separated list.
Vijay jai Singh
Greenhorn
Joined: Jan 07, 2009
Posts: 26
posted
May 07, 2009 23:36:59
0
Thanks David for solution. it worked.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: how to use multiple resource files in struts2
Similar Threads
struts2
Struts2
STRUTS2
Intergration of Struts2 and EJB3.0 using struts2-ejb3-plugin
Struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter