...

View Full Version : cross domain problem



kadambari
03-05-2009, 10:34 AM
In portlet when I am trying to hit a file located inside root of tomcat server,Access to restricted URI denied" code: "1012 error is coming and in IE it is giving error "Permission Denied" when returning the xmlHttp.responseText,when I searched for this error the reason explained there was "cross-domain request" that I am trying to hit localhost:8080 from localhost:10040.
So can somebody help me?Its urgent.

Kor
03-05-2009, 11:48 AM
AJAX is not able to perform a cross-domain request, for obvious security reasons. You need a server-to-server request (on using php, asp, ...)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum