File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
can I set the path in my code to refer a properties file?
internationalization & Properties file order (gone south)
Struts 2.1.8 validation.xml & internationalization
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014