Results 1 to 2 of 2
  1. #1
    VasiliyF4 is offline Member
    Join Date
    Aug 2009
    Rep Power

    Default Flex + Java crosspolicy send problem

    I have a server written in java (also http server). I try to communicate with it from my flex application. It works from FLEX IDE, but not if I run my java server and request the flex application by browser. I receive error: "securityError:. text=Error #2048: Security sandbox violation:".
    I found the problem is crosspolicy file. I found also, flex application send to my java server: "policy-file-request".
    OK, I receive that request and send back a simple crosspolicy.xml file, actualy i send a string.
    It dosen't work....
    May be there is another, simpler way?

  2. #2
    Join Date
    Aug 2009
    Rep Power


    i have also got the same problem while incorporting Flex with Struts-Hiberbate project.
    u add the plugin for iexplorer and firefox.
    and add the callback method in the javascript for flex. that callback method should be synchronised with
    flex applications
    1.create mxml file in the flex. mxml file use incorporate with javascript that mxml file in the java web project. use script to call.
    even if u do not understand feel free to ask me
    :) javadeveloper

Similar Threads

  1. Replies: 1
    Last Post: 05-10-2011, 03:41 PM
  2. [SOLVED] Email send problem
    By serjant in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 11-17-2010, 07:07 AM
  3. Replies: 0
    Last Post: 12-11-2008, 03:00 AM
  4. Email send problem
    By serjant in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 09-19-2008, 03:15 AM
  5. Java/Flex job in London
    By emakmafu in forum Jobs Offered
    Replies: 0
    Last Post: 07-23-2007, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts