File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Two Forms Mistakenly Shown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Two Forms Mistakenly Shown" Watch "Two Forms Mistakenly Shown" New topic
Author

Two Forms Mistakenly Shown

Andy Holm
Ranch Hand

Joined: Jul 03, 2008
Posts: 86
I have a JSF application that has the following bug in it. When I successfully login in to the application through a login page (form authentication), I am sent to the first page of my application. If I hit the browswer back button, I am sent back to my login page where I can login again (even though I am already logged in). Another successful login sends me to the first page of my application, but this time the login form is appended to the bottom of the page. Any idea why? I am using a POST-redirect-GET pattern if that matters.
Andy Holm
Ranch Hand

Joined: Jul 03, 2008
Posts: 86
One more thing... The login page is displayed via a forward.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Two Forms Mistakenly Shown
 
Similar Threads
crawler
Two Forms Mistakenly Shown
problem with Invalid direct reference to form login page
j_security_check 'next' page?
authenticat user with j_security_check