File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Two Forms Mistakenly Shown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Two Forms Mistakenly Shown

Andy Holm
Ranch Hand

Joined: Jul 03, 2008
Posts: 86
I have an 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. The login page is shown via a FORWARD.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
[ August 25, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Two Forms Mistakenly Shown
It's not a secret anymore!