struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Using Struts Validator framework
Date Sun, 18 Mar 2007 20:22:20 GMT
--- "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

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.


We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list. 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message