aspose file tools*
The moose likes Servlets and the fly likes HTML/JavaScript Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTML/JavaScript Issue" Watch "HTML/JavaScript Issue" New topic
Author

HTML/JavaScript Issue

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
I have a servlet being invoked from a frame and output being put on another frame. The output is coming from a servlet in the from of a table/html. The first frame is not being ble to access the contents of the 2nd frame- it gives Permission Denied error- as the 1st frame was loaded from one server and the servlet is on a different server.
How can I resolve this problem? I need to access the data in the 2nd frame?
Thanks a lot,
Sanjay
Brian Glodde
Ranch Hand

Joined: Jun 27, 2001
Posts: 171
Yes, that's browser security. This restriction is enforced by browsers to prevent malicious code from manipulating the content of a page residing in another domain, thus, your "permission denied".
The solution to this problem typically involves the addition of a DNS record.
Here's an knowledge base article that discusses one possible solution along those lines.
[ March 26, 2002: Message edited by: Brian Glodde ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML/JavaScript Issue