Connecting Tech Pros Worldwide Help | Site Map

Applet Mayscript JRE 1.4.2_03 : sun.plugin.javascript.ocx.JSObject.eval

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 05:34 PM
R
Guest
 
Posts: n/a
Default Applet Mayscript JRE 1.4.2_03 : sun.plugin.javascript.ocx.JSObject.eval

Hi,

I have an applet that communicates with Javascript on the webpage using
Netscape's liveconnect. It was working till recently using Microsoft
VM. The applet was signed using the Microsoft Authenticode Technology.

But just this week, I have installed JRE1.4.2_03 and created the same
applet in a jar and also signed the jar file.

Whenever the applet tries to invoke the Javascript method., the
following exception gets printed out:

netscape.javascript.JSException: Failure to evaluate testCall('Hello
from Arg1', 'Hello Arg2')
at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)

Is there something that needs to be done when using the applet with the
SUN JRE...? Because the same applet runs when using the Microsoft
JVM... No change in source code..

JSObject win = JSObject.getWindow(this);
win.eval("testCall(\'Hello from Arg1\', \'Hello Arg2\')
");

Please let me know if there is a problem with the current JRE ? Or some
other way to solve this...

We need to make this work with the SUN JRE 1.4.2_03 as this is the
requirement.

Appreciate your help.

Thanks
Ravi Yagatili


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.