This lesson shows you how to add the display for the error messages, so that failure messages can be returned out to input.jsp.
To update the action so that it will forward any errors found in bean validation out to the input.jsp page. In the DateData class, verify that the user input year is less than year 1582, then it will return an error with the "pre-gregorian" message.


Locate the "pre-gregorian" date which is defined in the ApplicationResources.properties file and verify the following information:

To create the validation message, specify an Action Input for the action using the form bean and update the input.jsp to display the error message.


