flex实现跨域访问的配置文件

flex实现跨域访问的配置文件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="1.202.135.142" />
  <allow-access-from domain="*.xuexi71.cn" />
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
放到tomcat下你的web的根目录,我得放在root下

你可能感兴趣的:(tomcat,Web,xml,Flex)