I used a frame to display
https://www.yahoo.com from my Jetty Proxy Servlet. I can display this page in Frame, but once I run "((IFrameElement) element).getContentDocument()" in Java code and I got "Permission denied to access property 'document'" from a compiled cache.html. But I can use the same frame to display a file from same server like "
http://127.0.0.1:82/Test.html. Once I run "((IFrameElement) element).getContentDocument()" and I could get a Document value. I used Firebug to find the following html source like:
<iframe class="gwt-Frame gwt-TabLayoutPanelContent" src="http://127.0.0.1:82/Test.html" style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;">
I don't kown what is wrong. They seem to be from the same origin source. May Jetty Proxy Servlet not work as expected?
This project is due in two days. Please help out of this issue.
Many thanks,
Leon