在网上找了都说是由于跨域而导致的,但是我在我的web根目录下放置了
文件: clientaccesspolicy.xml
xml version="1.0" encoding="utf-8" ?>
< access-policy >
< cross-domain-access >
< policy >
< allow-from http-request-headers ="*" >
< domain uri ="*" />
allow-from >
< grant-to >
< resource path ="/" include-subpaths ="true" />
grant-to >
policy >
cross-domain-access >
access-policy >
和文件: crossdomain.xml