This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, I am trying out an example in which there is a login page. If the username is invalid then an error page is displayed else the home page of the company is displayed. But for me if I enter the invalid user name I am getting an error "404" saying that the login-error.jsp is not available. If I enter the valid user name I am getting an error "400" which states that "message: Invalid direct reference to form login page description: The request sent by the client was syntactically incorrect (Invalid direct reference to form login page)." I can access the login-error.jsp directly (I mean through direct URL ). can any one help me to find out what is the error. The login.jsp and login-error.jsp are in admin directory. The servlet which is called is under the classes directory. thanks in advance.. Trupti