Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts.custom.i18n.resources - change location propertie file

 
Adriano Anderson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using struts2 and would like to put my properties files in a path like this WEB-INF/config/properties/i18n, but my application doesn't work in other path, just in root.
I've already put this configuration in my struts.xml:

<constant name="struts.custom.i18n.resources" value="config.properties.i18n.nameofmyfile" />

Is it possible change the default path?

Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic