A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Make it so: Java DB Connections & Transactions
this week in the
struts.custom.i18n.resources - change location propertie file
Joined: Apr 13, 2007
Nov 09, 2010 10:58:11
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?
I agree. Here's the link:
subject: struts.custom.i18n.resources - change location propertie file
Connecting to remote database
struts 2 internationalization not working
Struts 2.1.8 validation.xml & internationalization
can I set the path in my code to refer a properties file?
internationalization & Properties file order (gone south)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015