Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Tough sendRedirect / target= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tough sendRedirect / target="_top" Question" Watch "Tough sendRedirect / target="_top" Question" New topic

Tough sendRedirect / target="_top" Question

Trader Joey
Ranch Hand

Joined: May 11, 2000
Posts: 33
I am developing a Web application which begins with a login jsp. Once the l/p have been validated, the user is redirected to an html page with two frames, the left specifying a navigation html, and the right is another jsp. On the form on the login jsp I've had to specify target="_top" so that if a user logs off and logs in again (with the left frame already the nav html), you won't get a second nav frame inside the first. The peculiar thing that has been occurring is that once the user submits their login and password on the login jsp, the login jsp has been appearing in the left frame instead of the navigation html file specified(but the right frame has been the correct jsp). More bizarre is that this has only been occuring with the people testing this application from the East Coast. I've gone to the identical server/URL with an identical browser and used the same login and password and gotten the correct navigation html frame on the left and jsp on the right every time. Any ideas? Thanks!!!
I agree. Here's the link:
subject: Tough sendRedirect / target="_top" Question
It's not a secret anymore!