In IE browser, if you want to pass an array object to Java from Javascript, the following exception throw:
java.lang.Exception: printValArg2{0} :no such method exists at
sun.plugin.com.JavaClass.getMethod1(Unknown Source) at
sun.plugin.com.JavaClass.getDispatcher(Unknown Source) at
sun.plugin.com.DispatchImpl.invoke(Unknown Source) at
sun.plugin.com.DispatchClient.nativeInvoke(Native Method) at
sun.plugin.com.DispatchClient.invoke(Unknown Source) at
sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source) at
sun.plugin.javascript.ocx.JSObject.call(Unknown Source) at
j2js2j.start(j2js2j.java:37) at
sun.applet.AppletPanel.run(Unknown Source) at
java.lang.Thread.run(Unknown Source)
netscape.javascript.JSException
The testcase is attached. It works with Netscape 6 browser.
Dennis Gu
java.lang.Exception: printValArg2{0} :no such method exists at
sun.plugin.com.JavaClass.getMethod1(Unknown Source) at
sun.plugin.com.JavaClass.getDispatcher(Unknown Source) at
sun.plugin.com.DispatchImpl.invoke(Unknown Source) at
sun.plugin.com.DispatchClient.nativeInvoke(Native Method) at
sun.plugin.com.DispatchClient.invoke(Unknown Source) at
sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source) at
sun.plugin.javascript.ocx.JSObject.call(Unknown Source) at
j2js2j.start(j2js2j.java:37) at
sun.applet.AppletPanel.run(Unknown Source) at
java.lang.Thread.run(Unknown Source)
netscape.javascript.JSException
The testcase is attached. It works with Netscape 6 browser.
Dennis Gu