tags:

views:

33

answers:

0

I'm coming from Spring MVC and need to do some stuff using struts2.[a very beginner]

In Spring MVC we are using ThemeResolver to get client specific message properties.

we have two clients 'abc' and 'def'. I was used to do it like this.

in themes folder[another message bundle] I have abc_en.properties, abc_ar.properties and def_en.properties and def_ar.properties.

based on the locale and the client we can get an output message.

{spring.theme"app.title" }

this will output "ABC Online Communication Center" and viz.

I can do the locale specific thing easily in struts2 with i18n.resources in struts.xml. Similarly is there any direct approach to achieve this multi client behaviour [white labeling] in Struts2?