Display error messages when an action returns them to the input
JavaServer Pages (JSP) page.
To use
ActionErrors, you must add a Struts HTML
tag to display an error message on the input JSP page. You must also add an
input field to the action mapping.
To modify the application to return
any bean validation errors to the input JSP page: