Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error page problem

 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Gilmore
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any chance of seeing the code?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic