Java Server Pages

Moderators: None (Apply to moderate this forum)
Number of threads: 302
Number of posts: 624

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
frames at sendredirect Posted by stebab on 21 Oct 2004 at 7:35 AM
i have an interesting problem.
a have to redirect a page but the new one should be open in _top frame.
how to do it when a have to use redirect. is there any option how to set up a target at sendredirect function?
Report
Re: frames at sendredirect Posted by tprashant on 1 Nov 2004 at 8:36 AM
: i have an interesting problem.
: a have to redirect a page but the new one should be open in _top frame.
: how to do it when a have to use redirect. is there any option how to set up a target at sendredirect function?
:
You can solve with javascript

if you want to show in entire page
open new page using "window.open(page,title,size);"
and "parent.window.close();"

and if you want to open in some other frame.
"parent.framename.hrefa.location=newlocation;"
Prashant Trivedi
Software Enginner
Automated Workflow Pvt Ltd. India
+919886545688
tprashant@aworkflow.com




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.