%-- This JSP displays a login screen. When the user fills out the login screen, it will submit it to the Login Servlet, which will verify the user's credentials by calling EJB components. If the verification is unsuccessful, the login servlet will return the user to this page to re-enter his credentials. If the verification is successful, Jasmine's main page will be displayed. --%>
<% // get whether the person logged in successfully Boolean failed = (Boolean) request.getAttribute("loginFailed"); if (failed != null) { if (failed.booleanValue() == true) { %>
Could not log in! Please try again.
<%
}
}
%>
<%-- Include the page footer --%>