Hi everyone, I am a newer in learning Flex and I meet a issue now.
the environments are below
windows XP
eclipse 3.5
Flex4(FlashBuilder_4_Plugin_LS10.exe)
lcds31-win.exe
apache-tomcat-6.0.29
the codes are below
TestService.java
remoting-config.xml
index.mxml
When I deploy it to
tomcat and input url(
http://loccalhost:8080/flex/index.html),the components containing the TextInput and Button are diplaying well.
Then I input a
String "tom" here in the TextInput and click the Button "click me", the frame "Remote Object Error" defined in index.mxml appears and the line "System.out.println(name);" in class TestService doesn't run.
It stands I call the method "sayHello" in TestService through Remote Object based on LCDS here unsuccessfully. But I don't realize that where I am wrong.
Can anyone give me some advices on why?
Thanks in advances!
HanJie