Are there any plans to turn the ApplicationResources.properties into an
actual xml document?
It would make the file more manageable, IMO, by conforming to a standard
found in other struts "property" files, such as struts-config, and allow
messages to be returned as actual html or text blocks, rather than a single
string. Additionally, you could add other properties to the error message,
such as an error logging function (logging=yes, or something) that could
append the messages to a log file.
Or better yet, you could put all multilingual versions of an error in a
single place, such as:
<message>
<name>
authenticationError
</name>
<body>
<language>
english
</language>
<text>
Try again!
</text>
</body>
<body>
<language>
german
</language>
<text>
Nein! Das geht aber nicht!
</text>
</body>
</message>
-Theo Mills