开发者

APPLET tag missing CODE parameter - not really?

I am tryi开发者_如何学Gong to implement this demo on my local machine. http://bit.ly/4g4o1r

I have placed these 3 files in a folder:

LittleShootApplet.class
appletLoader.js
filepath.html

I have pointed my browser to that location but I keep getting applet missing code parameter even though it does?!

APPLET tag missing CODE parameter.
java.lang.NullPointerException: name
    at sun.applet.AppletClassLoader.getResourceAsStream(Unknown Source)
    at sun.applet.AppletPanel$7.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Here is the JS that generates the applet HTML: http://bit.ly/4yYuwa

What I am doing wrong?

Thanks all


Made a small mistake in file path! Sorry for wasting time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜