flex 连接数据库失败??
我是按 http://hi.baidu.com/dapao98301/blog/item/eff43ed557b44509a08bb75f.html 给我的提示做的,现在总是
<mx:RemoteObject id="getData" destination="dataService1" result="proccessResult(event.result)" fault="Alert.show(event.fault.faultString,'Error')"/>
这段代码,弹出找不到“dataService1” ,我在remoting-config.xml 配置中加入的是如下代码:
<destination id="dataService1">
<properties>
<source>com.connectDB.DateServiceImpl </source>
</properties>
</destination>
确定类文件是没错的,我的数据库是用mysql,mysql的jar放置了lib下面,不知道还有什么没有配置的吗????
请各位大侠帮帮忙,急!!!
那请问我该怎样正确的指定service-config,我是在fds下修改的配置文件,还需不需另外建service-config.xml 文件
错误信息:
[MessagingError message='Destination 'dataService1' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
相关问答:
如果有数据源如下:
<root>
<type label="Food" name="li">
<food label=" ......
是这样的,这个问题可能看起来像询问QTP的,但之前对FLEX开发语言了解的很少,最近有个项目,需要用到
QTP,然后很郁闷的发现,使用QTP SPY选取不到FLEX页面中的任何一个对象,只可以选取WINOBJECT这个对象,
......
如题,请详解!!!
使用flash.media.SoundMixer.stopAll();试试
package {
import flash.display.Loader;
import flash.display.Sprite;
import flash.ev ......
现在要求用flex写一个注册控件,要求在点击注册按钮的时候,把上述注册信息以XML数据格式比如说 <componentname>用户名: </componentname> <componentcontent>张三 </componentcontent>的 ......
如题
我想从js中获取一个数值,然后传递给flex,数据是用来做图表用的
问题就是
private var medalsAC:ArrayCollection = new ArrayCollection( [
{ Countr ......