homepage Welcome to WebmasterWorld Guest from 54.237.95.6
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
response.redirect in servlets
manjumurthy




msg:590422
 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

thanx
manju

 

joshie76




msg:590423
 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()
{
window.top.location.replace("redirectedURL")
}

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved