Cold fusion web hosting - JavaSercer Pages Instead of using a static HTML
JavaSercer Pages Instead of using a static HTML page for the input form and a separate JSP page with the validation code, in this example we have combined them into a single JSP page. This page generates the form and provides an appropriate message based on whether or not the input is valid. The page also fills in the form with the valid values that have already been specified (if any) so the user needs to enter values only for missing or incorrect input. Let’s look at Example 5.4 from the top. The first thing to note is that the page generates a message using the UserInfoBean property named propertyStatusMsg. Here is the corresponding snippet: <%-- Output list of values with invalid format, if any --%>