aspose file tools*
The moose likes Servlets and the fly likes error page problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "error page problem" Watch "error page problem" New topic
Author

error page problem

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
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

Joined: Jul 19, 2002
Posts: 9
any chance of seeing the code?


There are 10 types of people in this world - those who understand binary and those who don't.
 
wood burning stoves
 
subject: error page problem