在我的jdk安装目录下,
为什么...jdk1.6.0_10\demo\applets 目录下的程序不能运行,显示:“Your browser is completely ignoring the <APPLET> tag!”
...jdk1.6.0_10\demo\plugin\applets\ 下的就可以运行呢? 多了一层plugin目录。
又比如:http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets/MoleculeViewer/example2.html
http://java.sun.com/products/plugin/1.5.0/demos/applets/MoleculeViewer/example2.html第一个就能显示
第二个就不行
为什么...jdk1.6.0_10\demo\applets 目录下的程序不能运行,显示:“Your browser is completely ignoring the <APPLET> tag!”
...jdk1.6.0_10\demo\plugin\applets\ 下的就可以运行呢? 多了一层plugin目录。
又比如:http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets/MoleculeViewer/example2.html
http://java.sun.com/products/plugin/1.5.0/demos/applets/MoleculeViewer/example2.html第一个就能显示
第二个就不行
点Internet Option->Advanced看看开没开Java小程序 ?
...jdk1.6.0_10\demo\plugin\applets\ 是插件目录下的版本,应该用的是 对象<object> 和 嵌入<embed>标签
IE支持<object>,好像firefox等支持<embed>所以能正确显示