On Mar 7, 6:57 am, ezhil...@gmail.com wrote:
> Hi
>
> Is there any possibility of javascript calling java methods.. it is
> possible in case of java program using applet and even possible with
> JSP. Is it possible to get on with the usual Java classes. Let me know
> if thats possible..
>
> Thanks..
Hi!
Yes it's possible.
For example you has a applet with tag name="MyApplet".
From JavaScript you can call the "public"-Method "public String
getAnything() {...}" of the Applet with MyApplet.getAnything();
Important: Only the public Methods of your Applet-class are callable!
Give me feedback if it works!
regards
Alexa