简体   繁体   English

Java Applet在Internet Explorer中只能加载一次(在第一个窗口中)

[英]Java Applet would load only once (in the first window) in Internet Explorer

I am in a bit of fix here. 我在这里有点问题。 In my company, we have a local intarnet website which has a menu bar in the form of an applet. 在我的公司中,我们有一个本地的Intarnet网站,该网站有一个applet形式的菜单栏。 Few days ago i remember i downloaded an update (either JRE or Windows , i can't recall) and after that in IE strange behavior is observed wrt the menu bar applet loading. 几天前,我记得我下载了一个更新(无论是JRE还是Windows,我都无法记得),然后在IE中观察到了奇怪的行为,即加载了菜单栏小程序。

If i open the web page first time, the applet would load. 如果我第一次打开网页,则将加载小程序。 when i open a second IE window or tab, the web page would load but the applet just wouldn't load. 当我打开第二个IE窗口或选项卡时,将加载网页,但不会加载applet。 No Errors, nothing just white space in stead of menu bar applet. 没有错误,没有什么可以代替菜单栏小程序的空白。 If i refresh multiple time, some time the applet would load by itself. 如果我刷新多次,则小程序有时会自行加载。 purely random behaviour. 纯粹是随机的行为。 When i open the website in google chrome, everything works fine. 当我在Google Chrome中打开网站时,一切正常。 If i open java console, no errors are displayed ie the java is just failing to load at all !!!! 如果我打开Java控制台,则不会显示任何错误,即Java根本无法加载!

I downgraded IE 8 to IE 7 and IE 6 and uninstalled , reinstalled JRE and tried all combinations but the problem still exists !! 我将IE 8降级为IE 7和IE 6,然后卸载,重新安装JRE并尝试了所有组合,但问题仍然存在!

Please advice. 请指教。

yes i did try clearing cach but the problem persists. 是的,我确实尝试清除过气垫,但问题仍然存在。 i mean its purely random. 我的意思是它纯粹是随机的。 the first time the applet always loads. 小程序总是第一次加载。 after that some times it doesn some times it doesn't. 在那之后的某些时候,它没有。 No errors at all. 完全没有错误。 Now even google chrome is crashing when ever i open the website saying Data execution prevention error. 现在,当我打开网站说“数据执行保护错误”时,甚至Google Chrome都崩溃了。

Enable the Java console, and enable all logging for it. 启用Java控制台,并为其启用所有日志记录。 THis will allow you to see what is actually going on and may allow you to determine why the applet fails. 这将使您看到实际发生的情况,并可能确定小程序失败的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM