• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML/JavaScript Issue

 
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
He does not suffer fools gladly. But this tiny ad does:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic