The following steps add functions to the login.jsp
page for displaying error messages when a user login fails. The scriptlets and expression used in the login.jsp
page set up a variable to hold any error message. If the user login fails, the connection method sets a message for the session. This page checks to see if there is such a message, and if present, it displays the message.
Before continuing with the following sections, return to the design view of the page by selecting the Design tab.