Can a Java Object be passed from Java Script to Applet
Can you please le开发者_开发知识库t me know whether we can pass a Java Object from JavaScript to Applet .
No, you can't. Javascript can't make a java Object, since a java Object can only exist inside a JVM. Javascript doesn't run in a JVM. But javascript code can pass parameters (typically strings) to an applet, and you can call methods on your applet's top level class.
The best place to start is Sun's documentation. There's more description here, and an example here.
精彩评论