--- "Kaushal, Anubhav" wrote:
> The user input is taken and then corresponding
> record is fetched from the database. Depending on
> the query result, I need to display appropriate 
> message to the user. How can I achieve this? 

It's not clear to me what this has to do with the
Validator framework, which is primarily for validating
forms.

If you want to display an error message using the
Struts errors or messages tags if, say, the record is
not found, you can use the Action class's addErrors or
addMessages methods.

d.



 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to