Hi
I need to call jar file from javascript or HTML,just a helloworld program for sample.how to do this.I have tried APPLET Tag and OBJECT Tag, but i am getting error
<applet id="appletToTest" width=500 height=500 code="com.sample.SampleApplet" archive="JavaApplication6.jar">
</applet>
In the script i used the below code.
<script language="javascript">
var greeting = appletToTest.getGreeting();
alert(greeting)
<script>
Getting the error as 'appletToTest is not defined'.Same error getting for OBJECT Tag.Please guide me where i am wrong.