Results 1 to 2 of 2
- 08-19-2009, 01:42 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 1
- Rep Power
- 0
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?
- 08-19-2009, 05:46 PM #2
Member
- Join Date
- Aug 2009
- Posts
- 21
- Rep Power
- 0
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
-
Help needed from anyone who has experience of using java in conjunction with Flex
By jimmyoneshot in forum Java AppletsReplies: 1Last Post: 05-10-2011, 02:41 PM -
[SOLVED] Email send problem
By serjant in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 11-17-2010, 06:07 AM -
Core Java,Flex developer,PureMVC in San Mateo,CA Needed
By jnash1978 in forum New To JavaReplies: 0Last Post: 12-11-2008, 02:00 AM -
Email send problem
By serjant in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 09-19-2008, 02:15 AM -
Java/Flex job in London
By emakmafu in forum Jobs OfferedReplies: 0Last Post: 07-23-2007, 06:08 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks