I want to call a Java method from my javascript  in a GWT application.
Here i have a js method in an external javascript file as below

Test.js

function callJavaMethod(){
}

I have a method in my java file as below,

JNITest.java

public class JNITest{

public void foo(String strTest){
   ///operations
}

}

Is it possible to call the foo() from my callJavaMethod() in Test.js
file. If so how can be done? A sample code would be more helpful.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to