[IOErrorEvent type ="ioError";气泡=假可取消=假eventPhase = 2文本=“错误#2032"] [英] [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]
问题描述
我正在尝试在Flex数据网格中显示数据库详细信息,并使用HTTP服务进行连接.当我在FlashBuilder 4.5中工作时,它能够显示细节而没有任何问题,但是,我在Tomcat Web服务器中部署了bin-debug部分以全局访问它.
I am trying to display database details in a Flex datagrid and connected using HTTP Service. It was able to display details without any issue when I was working in the FlashBuilder 4.5, however, I deployed the bin-debug part in the Tomcat webserver to access it globally.
当我尝试访问swf文件时,我遇到此错误消息" HTTP请求错误错误:[IOErrorEvent类型="ioError"气泡= false可取消= false eventPhase = 2文本="Error#2032" ].URL: http://localhost:8084/UA/details.jsp "
I am experiencing this error message when I am trying to access the swf file "HTTP request error Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://localhost:8084/UA/details.jsp"
我尝试创建crossdomain.xml文件并部署在根目录中,但仍然遇到相同的错误.
I tried to create the crossdomain.xml file and deployed in the root directory but still experiencing the same error.
这是我的crossdomain.xml:
Here is my 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="*" secure="false"/>
<allow-http-request-headers-from domain="*" headers="*" secure="false" />
</cross-domain-policy>
有人可以帮我吗?
此致
宁静
推荐答案
您是否检查了所有涉及文件的权限? 您确定运行应用程序"的用户至少具有对该文件的读取权限吗?
Have you checked permissions on all involved files? Are you sure the user running your 'application' has at least read permissions for the file?
这篇关于[IOErrorEvent type ="ioError";气泡=假可取消=假eventPhase = 2文本=“错误#2032"]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!