aspose file tools*
The moose likes Struts and the fly likes Struts - DB Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts - DB Message" Watch "Struts - DB Message" New topic
Author

Struts - DB Message

balamurugan gurusamy
Greenhorn

Joined: Sep 23, 2008
Posts: 3

Hi,

I have to populate the value from DB instead of property file. I tried by extending the MessageResourceFactory and config in struts-config.xml. But it is giving error. Please ay one give solution. is very urgent for my project.

I stored all my validation messages in db. During thr validation through the struts framework (ActionErrors)i want to populate.

Please help me to resolve.

In my db example:

Key
--------------------
error.field.required

value
--------------------
{0} cannot be empty.


thanks
Bala


[ September 23, 2008: Message edited by: balamurugan gurusamy ]
[ September 23, 2008: Message edited by: balamurugan gurusamy ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts - DB Message