aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Page Reload / Frame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Page Reload / Frame" Watch "Page Reload / Frame" New topic
Author

Page Reload / Frame

Manoj Zachariah
Ranch Hand

Joined: Dec 08, 2003
Posts: 65
i want to open a jsp page in the same browser window / not in a frame. The problem is that my button (which does the reload) is in a frame, so only the frame reloads.
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
on mouse click use:
window.location.href="/myJsp.jsp";


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Thinking this is what you want.....
parent.window.location.href = "URL"
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Prakash's will only reload the frame.....
Manoj Zachariah
Ranch Hand

Joined: Dec 08, 2003
Posts: 65
thanks
 
jQuery in Action, 2nd edition
 
subject: Page Reload / Frame