• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cross Domain Scripting Issue-Java script

 
Priya Chawla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In JSP
I Have a parent window with URL"https://abc/def" and i have a child window with URL "http://abc/xyz" .i want child window to access the parent window's elements but when i use window.opener property to set the values in parent window.i get an exception "Permission Denied".
i have done some R & D on this part and concluded that https cannot communicate with http as protocol are different .
Can anyone please provide me with solution to resolve this issue

Thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what this has to do with JDBC (which is what this forum is about), but I don't think there is a solution. Definitely IE (not sure about other browsers) has considered a domain accessed over HTTP and HTTPS as two different domains. Could you access/xyz via HTTPS as well? Unless this is a very heavily used application the overhead of SSL should be manageable.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our HTML and JavaScript since this is about opening windows.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will have to run both in https.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic