Yeah, I'd say he shouldn't be going "back to the login page" but rather to the 
protected page. 

-----Original Message-----
From: Pid [mailto:p...@pidster.com] 
Sent: Thursday, June 03, 2010 12:11 PM
To: Tomcat Users List
Subject: Re: HTTP Status 400 - Invalid direct reference to form login page!

On 03/06/2010 15:29, Gheorghe Pucea wrote:
> Hello,
> 
>  I have a problem with my Tomcat instance, I'm using:
> 
> Tomcat 6.0.26
> Java jdk 1.5.0_17
> Windows XP SP3
> 
>    I have implemented a JAAS login module for my application and 
> everything goes fine except from one thing.
> 
> Here are the steps that I am doing:
> 
> 
> 1)Request a protected resource  -> the login form show's up and I 
> enter my username and password

> 2) I get into the application and everything looks fine but when I get 
> back to the login page and enter my username/password again I get the message:
> (If I refresh the login page immediately when I hit the logout button 
> everything goes weel)

Please explain what you mean by "when I get back to the login page".

Why are you going back to the login page?


p


> HTTP Status 400 - Invalid direct reference to form login page
> ------------------------------
> 
> *type* Status report
> 
> *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)*
> 
> *
> *
> 
> *
> *
> 
> *
> *
> 
> *Thank you very much!*
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to