15.09.2018 - The Servlet API defines a form-based login mechanism, which allows you to define a login page and an associated login error page. encodeURL("j_security_check") %>'>.