The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

JSObject and Plug-in

Posted by cerelly on January 14, 2002 at 8:42 AM

Hello everybody,
Excuse me, I'm a beginner in java.
I met a problem about JSObject and Plug-in
i want to call Javascript functions in Applet
so i use the mothod as follows:

JSObject jsroot = JSObject.getWindow(this);
jsroot.eval("helloWorld()");

in browser IE5 it works smoothly.
but after i use html convert1.3 convert the html
if i install JDK1.3.0 in my machine(ms2) it's ok too.
but if i install JDK1.3.1 in my machine it doesn't work! and hang up...
if i don't install JRE in my machine,before it run,it download the JRE1.3.1 automatic,and doesn't work neither.

can you help me to call Javascript functions in Applet with JRE1.3.1?
thank you!






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us