Click to See Complete Forum and Search --> : need to call java from java script


rockysingh
07-13-2007, 01:41 AM
Hi All,

I need urgent help from you guys...
Well my question is: i need to call java class from javascript.

I have a java script which is parsed by a tool which is build on java. Now in this java script i need to call/ execute java class and this java class inturn communicate with the C function.
i am able to link java and C, but m not able to execute the java from java script.

Please help me for the same.
I dont want to use the HTML tags for doing so. The existing javascript doesnt have the html scripts. So cant use it.

Idea: The basic idea behind the above mentioned work is that, i need to resuse some of the C functions in one of the java script. I use this script in a tool to parse some raw data.

Please help

Khalid Ali
07-13-2007, 07:45 AM
I wrote some code to display just the same functionality..
take a look here
click on the link "JavaScript and Applet Communication." (http://www.webapplikations.com/pages/html_js/applets/AppletJavaScriptInteraction.html)