Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML/JavaScript Issue

 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic