This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts - DB Message  RSS feed

 
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
Boost this thread!