Hello!
I'm creating action errors for my web page in the following way:
ActionErrors errors = new ActionErrors();
errors.add("message123", new
ActionMessage("error.required.thisfield"));
A constructor of ActionMessage recieves a key to a message resource
"error.required.thisfield".
The message resource is usually a file.
I would like to store my error messages in the database. How would I
instantiate the ActionMessage in that case? Or I will have to create
ActionErrors in a different way?
Any help on how to use database instead of a resource file for error
messages text would be appreciated.
Thank you
NK
sameergn@gmail.com - 06 Mar 2007 19:46 GMT
On Mar 5, 2:32 pm, "nkun...@escholar.com" <nkun...@escholar.com>
wrote:
> Hello!
> I'm creating action errors for my web page in the following way:
[quoted text clipped - 15 lines]
> Thank you
> NK
See if this helps.
http://sourceforge.net/project/shownotes.php?release_id=320056&group_id=49385