File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "history.back and different domanin" Watch "history.back and different domanin" New topic
Author

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
author
Rancher

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

Joined: Jan 10, 2002
Posts: 60785
    
  65

So moved.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: history.back and different domanin
 
Similar Threads
Pro Jakarta Struts, Second Edition : Reader Question
Frames
history.back and different domanin
Removing Top Frame Leaving Bottom Frame Intact
Removing Top Frame Leaving Bottom Frame Intact