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