Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes HTML, CSS and JavaScript and the fly likes history.back and different domanin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "history.back and different domanin" Watch "history.back and different domanin" New topic

history.back and different domanin

Anoop Krishnan
Ranch Hand

Joined: May 03, 2001
Posts: 163
In my index.jsp output file(a simple html).
I have to different frames.The top frame has some navigation buttons which can change the content of the bottom frame.One button on the top frame simulates history.back in the bottom frame.
This works fine if page opened in the bottom frame are from the same domain as the index.jsp page, but if I load a page from a different domain to this frame the history.back gives a Java Script error calle Access is Denied
Do you have any idea why this can happen and is there any solution to fix this.

I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15383
Security issue...You can not go outside your domain and control the application. Once it goes out, you give up all right on it.
NOTE: ~Bear~ (Move to JS)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62296

So moved.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you tried LearnNowOnline?
subject: history.back and different domanin