Internationalisation

The Struts framework provides internationalisation functionality (http://struts.apache.org/userGuide/building_view.html#i18n) that is similar to Java's java.util.ResourceBundle. The base name of message resource files is configured in struts-config.xml.

The architecture provides the following extensions to the default internationalisation functionality provided by Struts:

Convenient addMessage(),addError() and addGlobalError() methods in ActionBase.
A base exception class ApplicationException that uses error keys provide internationalised messages.

Related topics

ApplicationException
Action