homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

response.redirect in servlets

10+ Year Member

Msg#: 812 posted 12:03 pm on Jun 26, 2001 (gmt 0)

I have a servlet that constructs an html page with frames. i am redirecting the servlet response to another html page through response.reDirect. can u guide me as to how i can cause the html page to open in the main window instead of the current frame. i want to do this when i'm redirecting the resonse to the html page




WebmasterWorld Senior Member 10+ Year Member

Msg#: 812 posted 12:10 pm on Jun 26, 2001 (gmt 0)

Welcome to WebmasterWorld manjumurthy,

As far as I'm aware you can only break the frameset down client side.

The easiest way I can think of doing this is to Response.Redirect to a page containing some JavaScript that breaks down the frameset

function destroyFrames()

This script could be generated server side to allow the redirectedURL to be placed dynamically.

I think thats clear!?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved