Flex中利用LiveCycle Data Services ES或者BlazeDS解决跨域问题(cross-domain)
By Minidxer | August 14, 2008
在RSSReader–a simple example of Syndication Library的编写过程中,跨域问题(cross-domain)曾经让郭大侠(hydra1983)头痛不已–因为当时没能找到可以直接用来当作Proxy的Server。Flex cookbook上看到了一篇关于Flex中如何利用LiveCycle Data Services ES或者BlazeDS解决跨域问题(cross-domain),对于正在使用LiveCycle Data Services ES或者BlazeDS的项目来说,相当的有用,当然如果你不想仅仅为了解决这个问题而额外的使用他们的话,可以参考开头的RSSReader的做法,自己写一个Proxy。下面是Flex cookbook上文章的地址:
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=10284
你也可以参考:
RSSReader–a simple example of Syndication Library
Topics:
Adobe其他 |
3 Comments » |
Tags: BlazeDS, crossdomain, Flex CookBook, LiveCycle, Proxy, RssReader, 跨域问题
貌似原理还是相同的
如果有个网站,能够提供swf上传以及数据转换处理就好了
Corss-domain的问题的几种处理方法,实际上原理都是一样的。
Trackbacks