mélanie langlois wrote:
Hello,In one of my webpage, one frame is loading an external url, using iframe tag. The loading process works fine, but I need to access component in this frame, to launch some actions on them. When I tryed that I get a Permission denied error, because the iframe is loaded from an external domain tahn my application.I tried to used apache server configured as a reverse proxy, to load the iframe in a way that tomcat thinks it's loaded from local domain.What i did is in my jsp page, i have iframe src="http://localhost/externallink"in my apache server conf:ProxyPass /externallink http://www.externaldomain/externalpage.aspProxyPassReverse /externallin khttp://www.externaldomain/externalpage.aspThe page is loaded fine in the frame, but i still have the permission denied error. So it seems that tomcat still sees that it's coming from external domain. Did i forgot some configuration? Does someone know how to solve this issue ?
Sounds like the browser is doing the right thing and stopping you executing a cross-site scripting attack of some sort, which is the intended/expected behaviour, I think.
I don't know what to suggest to solve your problem, can you supply some more details as to what you are trying to achieve?
p
Thanks, Mélanie _________________________________________________________________Découvrez le Blog heroic Fantaisy d'Eragon! http://eragon-heroic-fantasy.spaces.live.com/--------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature