Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Applet Mayscript JRE 1.4.2_03 : sun.plugin.javascript.ocx.JSObject.eval

Reply
Thread Tools

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

 
 
R
Guest
Posts: n/a
 
      02-04-2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is JRE from J2EE not usable to install a java browser plugin? Is separate JRE really necessary? Artur McCennon Java 0 07-22-2009 09:37 AM
It seems Firefox3 don't use mayscript attribute ? phil89 Java 7 04-09-2009 09:02 AM
Re-engineer application to run in JRE 1.4.2 against old JRE 1.1.7 Prasoon Java 1 04-13-2007 10:20 AM
How's JRE handle the process of Applet Destroy (IE6)? trace stopped until "joined applet thread" soldieryap81@yahoo.com Java 0 09-28-2006 09:40 AM
JRE crash in production ... how to tell JRE is beta? nospawn Java 2 04-25-2006 11:27 AM



Advertisments