• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts - DB Message

 
balamurugan gurusamy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic