Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

response.redirect in servlets



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



12:10 pm on Jun 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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!?


Featured Threads

Hot Threads This Week

Hot Threads This Month