日期:2014-05-18  浏览次数:20659 次

applet在appletview中是正常的,在html中不显示?
目录结构:D:\eclipse\projects\test\firstAplet.html
                    D:\eclipse\projects\test\firstAplet.java
                    D:\eclipse\projects\test\firstAplet.class

文件内容;
                    firstAplet.html:
              <html> <head> <title> firstAplet </title> </head> <body>
<applet   code= "firstAplet.class "   width= "180 "   height= "50 ">
</applet>
</body> </html>

        用IE浏览器的地址栏上输入:D:\eclipse\projects\test\firstAplet.html
不显示,为什么?在线

------解决方案--------------------
可能是要配环境变量吧!
你不通过浏览器,直接打开那个html文件看看,看它是否会显示,如果能显示的话就可能是要配环境变量。
------解决方案--------------------
你的IE是否正常安装了JVM-plug-in
看看 Internet Option里的advance
------解决方案--------------------
同意楼上ie的原因
------解决方案--------------------
肯定是IE问题了
到控制面板中找到JAVA里面的高级
在applet支持里面把Internet Explorer勾上即可