摘要:
内容:
1、新建一个ROOT文件夹,把crossdomain拷贝到这个文件夹下。
2、在ROOT文件夹下新建一个weblogic.xml文件,文件的内容如下:
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1
//EN" "">
<weblogic-web-app>
<container-descriptor>
<index-directory-enabled>true</index-directory-enabled>
<default-mime-type>text/x-cross-domain-policy</default-mime-type>
</container-descriptor>
<context-root>/</context-root>
</weblogic-web-app>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
" "">
<web-app id="WebApp_ID">
<display-name>root</display-name>
</web-app>
4、在WebLogic控制台安装这个应用。之后就可以通过访问了