This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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 ]
 
Have you checked out Aspose?
 
subject: Struts - DB Message
 
It's not a secret anymore!