1 Reply Latest reply on Feb 13, 2010 10:07 AM by oli4dejonge

    Security error accessing url

    Shree_ram

      i m beginer to flex.

      I create one application using rpc to access the tomcat server..

      Its working fine in local mechine..

      But i access from another mechine Its show error "Security error accessing url".

       

       

      private var loadurl:String = "http://localhost:7070/EZYClaims/pages/master/workflow/Sample.jsp?method=load"

       

      <mx:HTTPService id="loadserver" result="load_handle(event);"   url="{loadurl}" method="POST" useProxy="false" />

       

      I have use the coredomain.xml . Its in root directory of tomcat..

      <?xml version="1.0"?>
      <cross-domain-policy>
         <allow-http-request-headers-from domain="*" headers="*" secure="false" />
         <allow-access-from domain="*" secure="false" />
      </cross-domain-policy>