This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes sendRedirect??? 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 » Servlets
Bookmark "sendRedirect???" Watch "sendRedirect???" New topic


lydia westland
Ranch Hand

Joined: Feb 24, 2002
Posts: 72
Dear Ranchers,
I have a servlet, who is in Page1 of a frame, will redirect to page2. page1 is a lower part of the frame, and page2 should be the entire page. the sendRedirect only change the lower part of the frame (the part of page1). how can I change the whole page?
thank you very much

Lydia<br />~~~~~~~~~~~~<br />I love Italy team.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

This is the same problem as this thread
There are a couple of options, a simple option is to just redraw the whole page, recreating the frames in the process...
The simpler option is to get rid of frames...
I agree. Here's the link:
subject: sendRedirect???
Similar Threads
frames in JSP..
variable carryover
Frames Question
Javascript-- how to find referrer when url redirect is done
Logic when calling jsp page from same jsp page