File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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???
It's not a secret anymore!