File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Struts select convert null to 0
Http404 file not found
Stateful webapp advice
conversions in jsf
could not execute sql command