APPLET 标签缺少 CODE 参数 - 不是吗?
我正在尝试在我的本地计算机上实现这个演示。 http://bit.ly/4g4o1r
我已将这 3 个文件放在一个文件夹中:
LittleShootApplet.class
appletLoader.js
filepath.html
我已指向我的浏览器到那个位置,但我总是得到小程序缺少代码参数,即使它确实如此?!
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)
这是生成小程序 HTML 的 JS: http://bit.ly/4yYuwa
我做错了什么?
谢谢大家
I am trying 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文件路径犯了一个小错误!抱歉浪费时间了。
Made a small mistake in file path! Sorry for wasting time.