This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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: 63548

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]
It is sorta covered in the JavaRanch Style Guide.
subject: Two Forms Mistakenly Shown
It's not a secret anymore!