huangshuailei 2014-05-16
ArcGIS Server10.0如果是跨域请求需要放置crossdomain.xml文件,10.0之后就不再需要放置。
crossdomain.xml文件内容:
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy>