Resource bundles are searched in the following order:
To clarify #5, while traversing the package hierarchy, Struts 2 will look for a file package.properties:
com/
acme/
package.properties
actions/
package.properties
FooAction.java
FooAction.properties
If FooAction.properties does not exist, com/acme/action/package.properties will be searched for, if not found com/acme/package.properties, if not found com/package.properties, etc.
A global resource bundle could be specified programatically, as well as the locale.
@author Jason Carreira @author Mark Woon @author Rainer Hermanns @author tm_jee @version $Date$ $Id$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|