Struts uses MessagesResources to perform the key-->text translation.
The default implementation used is PropertyMessageResources (both in
the org.apache.struts.util package).

If you want to use your own MessageResources implementation then you
need to create two classes - the custom implementation and a factory
(MessageResourceFactory implementation) which creates an instance of
that implementation.

Then you configure struts with the name of the factory:

http://struts.apache.org/struts-action/userGuide/configuration.html#resources_config

Niall

On 6/14/06, Scott Van Wart <[EMAIL PROTECTED]> wrote:
I'd like to expand the message translation with a few things.  I was
wondering where I should look for plugging in my own processing of
keys->message text.

Thanks,
 Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to