我的配置: windows server 2003(ie的增强安全组件已卸载) 已安装组件: D:\j2sdk1.4.2_01 D:\Program Files\Java\j2re1.4.2_01 classpath: D:\j2sdk1.4.2_01\lib\dt.jar;D:\j2sdk1.4.2_01\lib\tools.jar path: D:\j2sdk1.4.2_01\bin;这没什么错吧? 那个applet是demo啊,应该没有错的,plugin文件夹里面的似乎是一样的效果的。 关键是我的本地的网页也看不了jsp了,那些下的例子里面都看不了效果。
到控制面板里面 看看 JRE 的设置吧!! 改成应该就可以了: j2re1.4.2_01如果还不行,贴出你的 html 源代码,并加以简单说明!
设置没问题 现在就是只能看到plugin文件夹里的 源代码: <html> <head> <title>Blinking Text</title> </head> <body> <h1>Blinking Text</h1> <hr> <applet code="Blink.class" width=300 height=100> <param name=lbl value="This is the next best thing to sliced bread! Toas t, toast, toast, butter, jam, toast, marmite, toast."> <param name=speed value="4"> alt="Your browser understands the <APPLET> tag but isn't runni ng the applet, for some reason." Your browser is completely ignoring the <APPLET> tag! </applet> <hr> <a href="Blink.java">The source.</a> </body> </html> plugin里面的: <html> <head> <title>Blinking Text</title> </head> <body> <h1>Blinking Text</h1> <hr> <applet code="Blink.class" width=300 height=100> <param name=lbl value="This is the next best thing to sliced bread! Toas t, toast, toast, butter, jam, toast, marmite, toast."> <param name=speed value="4"> alt="Your browser understands the <APPLET> tag but isn't runni ng the applet, for some reason." Your browser is completely ignoring the <APPLET> tag! </applet> <hr> <a href="Blink.java">The source.</a> </body> </html>
windows server 2003(ie的增强安全组件已卸载)
已安装组件:
D:\j2sdk1.4.2_01
D:\Program Files\Java\j2re1.4.2_01
classpath:
D:\j2sdk1.4.2_01\lib\dt.jar;D:\j2sdk1.4.2_01\lib\tools.jar
path:
D:\j2sdk1.4.2_01\bin;这没什么错吧?
那个applet是demo啊,应该没有错的,plugin文件夹里面的似乎是一样的效果的。
关键是我的本地的网页也看不了jsp了,那些下的例子里面都看不了效果。
改成应该就可以了: j2re1.4.2_01如果还不行,贴出你的 html 源代码,并加以简单说明!
现在就是只能看到plugin文件夹里的
源代码:
<html>
<head>
<title>Blinking Text</title>
</head>
<body>
<h1>Blinking Text</h1>
<hr>
<applet code="Blink.class" width=300 height=100>
<param name=lbl value="This is the next best thing to sliced bread! Toas
t, toast, toast, butter, jam, toast, marmite, toast.">
<param name=speed value="4">
alt="Your browser understands the <APPLET> tag but isn't runni
ng the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</applet>
<hr>
<a href="Blink.java">The source.</a>
</body>
</html>
plugin里面的:
<html>
<head>
<title>Blinking Text</title>
</head>
<body>
<h1>Blinking Text</h1>
<hr>
<applet code="Blink.class" width=300 height=100>
<param name=lbl value="This is the next best thing to sliced bread! Toas
t, toast, toast, butter, jam, toast, marmite, toast.">
<param name=speed value="4">
alt="Your browser understands the <APPLET> tag but isn't runni
ng the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!
</applet>
<hr>
<a href="Blink.java">The source.</a>
</body>
</html>
原来是缺少microsoft VM !!装上这个vm,而不是sun那边下的vm,就都可以显示了。“ 微软Java虚拟机(Microsoft Java Virtual Machine),为IE浏览器提供Java支持……”,好像IE 4以上的版本都有,不知是因为2003本来就没有还是后来被我自己卸载了。“该公司指出,VM build 5.0.3802一直到5.0.3809,经过检测后都发现有此瑕疵,但先前的版本或许也有弱点。微软建议使用者下载并安装最新版的3810和之后的版本,以修补安全漏洞。”
“Sun Java Virtual Machine (this is a better option than Microsoft's version) ”但是为了在ie里面看到效果,只好用M……VM了。