Sorry Pid I didn't noticed your message.
By "when I get back to the login page" I mean that I log out from my app and then I redirect my app to a restricted resource and when my login page appears I type my User/pass and the error occurs. I want to add something, when I log out and after I redirect my app to a protected resource the login page show's up if I hit the refresh button on my browser and I type in my user/pass it works. Thank you very much for your time!!!! Really appreciate! On Thu, Jun 3, 2010 at 8:11 PM, Pid <p...@pidster.com> wrote: > 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!* > > > > >