Add struts.properties next to struts.xml and add global resources like
struts.custom.i18n.resources=com.xyz.MyResourceBundle,com.xyz.props
also see here for more details
http://struts.apache.org/2.0.6/docs/how-do-i-set-a-global-resource-bundle.html
Best,
Aram
On 4/6/07, Love, Andrew <[EMAIL PROTECTED]> wrote:
Hello,
I would like to add a resource bundle to the path for validation
messages. The bundle must load from a path that does not follow the
Package hierarchy defined in struts2. The textProvider in the
ActionSupport class is private so I cannot directly add the bundle from
an Action class.
private final transient TextProvider textProvider =
TextProviderFactory.getInstance(getClass(), this);
Anyone know a clever way to do this?