--- "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. ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]