Updating MyContactUsDisplay.jsp to display validation error
messages
This lesson explains how to display validation
error messages.
Procedure
In the Enterprise Explorer view ,
expand Stores > WebContent > Madisons > StoreInfoArea.
Open MyContactUsDisplay.jsp for editing.
Copy the following code immediately above the html:form element:
<html:errors bundle="ConsumerDirect_errors" />
This element causes any Validator errors reported
to be displayed as messages above the HTML form. It relies on the
error.header and other messages that you defined in Adding custom messages to the store error
message properties for formatting.