Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
Thanks Niall. If I were to use elements, do you have any idea how I would retrieve those properties within the factory? Thanks, David "Niall Pemberton" <[EMAIL PROTECTED]> wrote on 06/16/2005 04:03:36 PM: > You need to configure your message resources through the struts-config.xml - > init p

Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
I found the answer I was looking for. The solution is to set the "factory" attribute of the "message-resource" element in struts-config, like so: > I have a project where I want to use the Struts Validator. By default the > error messages are read from a properties file. However I'm req

Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
I have a project where I want to use the Struts Validator. By default the error messages are read from a properties file. However I'm required to read the error messages from a database. The question is how do I do this? I found this article http://www.informit.com/articles/article.asp?p=101174