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

    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
    Posts
    21
    Rep Power
    0

    Default

    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
    Step:
    1.create mxml file in the flex.
    2.in mxml file use incorporate with javascript
    3.place that mxml file in the java web project.
    4.now use script to call.
    even if u do not understand feel free to ask me
    bye
    :) javadeveloper

Similar Threads

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