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!
posted 5 years ago
Where you are passing the parameter to sayHello method defined in java class.