Struts is designed to do eactly this. You can provide your own
implementations of the MessageResources and MessageResourcesFactory classes
and plug them in. Look at the javadoc for the "org.apache.struts.util"
package - it has a good section on "Message Resources" telling you what you
need to know.

http://jakarta.apache.org/struts/api/index.html

Niall

----- Original Message ----- 
From: "Prasad, Kamakshya" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 04, 2004 5:22 AM
Subject: Help on ApplicationResources


Hi All,

We are using struts framework for building an application for a client.
In the system, the client wants to have all the error messages, labels
etc in the database instead of having them in a properties file. Please
let me know that how can we extend the necessary packages provided by
struts with a minimal changes and with the ability to continue using the
normal functionalities provided by struts like <bean:message>, errors,
ActionErrors etc.

Thanks and Regards,
Kamakshya




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

Reply via email to