The <html:message> tag has an 'message' attribute. Set that to true to iterate over messages; set it to false to iterate over errors.
Paul On Wed, Nov 2, 2011 at 2:14 PM, Anjib Mulepati <anji...@hotmail.com> wrote: > Hi All, > > I have been using ActionErrors to display all kind of message from form > submission action. Problem with that is I have to display message using > <html:errors/> tag and I can't distinguish between success and failure > message. > > I want to store error messages and success message in different object so > that I can display messages with proper formatting (red for error/blue for > success) back in the form page. I am not displaying new page after form > submission. User see there status in same form page. > > Thanks, > Anjib >