简体   繁体   English

Java Applets在不同的IE 8+版本上坏了,但是前一段时间可以工作吗?

[英]Java Applets broken on different IE versions 8+ but was working a while ago?

We have a signed applet that was working for a long period of time, but last week some of our clients using IE 8 + 9 started to complain that the functions exposed by our applet aren't working anymore which we verified on-spot and on our testing machines. 我们有一个经过签名的小程序,该小程序已经使用了很长时间,但是上周,使用IE 8 + 9的一些客户开始抱怨说,小程序所暴露的功能不再有效,我们在现场和现场进行了验证。我们的测试机。 We are a bit confused as each time we come up with a possible root-cause, we go and test it on the client machine and it it turns to be not the one. 每次我们提出可能的根本原因时,我们都有些困惑,我们去在客户端计算机上对其进行测试,结果却并非如此。

Has anyone observed that Applets stopped to work lately on IE8+ in the last couple of weeks due to one of the following reasons: 是否有人观察到Applet在最近几周因以下原因之一而停止在IE8 +上工作:

  1. A Microsoft update. Microsoft更新。

  2. A Java update. Java更新。 (The current one we are using is Java8u45) (我们当前使用的是Java8u45)

    Many thanks in advance :) 提前谢谢了 :)

    *** Update: Some users reported the issue on Chrome now too and there are no signs that the page is loading the applet at all. ***更新:一些用户现在也在Chrome上报告了该问题,并且没有迹象表明该页面正在完全加载该applet。

Its Mainly the security issue by Java 8, Which is not allowing now to display or load the self signed Applets on browser. 主要是Java 8的安全性问题,该问题现在不允许在浏览器上显示或加载自签名的Applet。 Please open configure java in settings and in security TAB put the URL of the html page which is using applet in Exception Site List 请在设置中打开configure java ,然后在安全选项卡中将正在使用applet的html页面的URL放入“ 例外站点列表”中。

This should work for for. 这应该为。 :) :) 在此处输入图片说明

We ended-up creating a stand-alone Java application that the browser talks to using XHR calls with CORS enabled. 我们最终创建了一个独立的Java应用程序,浏览器使用启用了CORS的XHR调用与之对话。 This way we came to a state where the printing logic is always loaded and ready to respond to requests coming from pages. 这样,我们进入了始终加载打印逻辑并准备好响应来自页面的请求的状态。 Also, bringing out the applet from running as a browser extension/plugin to a stand-alone application means there no need to initialise the applet on each reload which yields better performance and user experience. 此外,将小程序从作为浏览器扩展程序/插件运行时带到独立的应用程序意味着无需在每次重新加载时都初始化小程序,从而获得更好的性能和用户体验。

Thanks everyone for your replies. 感谢大家的回复。

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

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