最近弄一个activex,打包成cab下载,都没有问题,但是通过tomcat容器访问不到控件提供的方法,而通过IE直接访问没有问题。后终于查找到解决方案。
Hi, after searching google today for a couple of hours I found out what I think was the problem.
As you said, it was IE security settings.
I think there is a difference between running a file as local and runing it from tomcat.(enters
a different security level). So I modified the security settings for
"Initialize and script Active x control not marked as safe" from disable to prompt and it
worked under tomcat as well.
Hi, after searching google today for a couple of hours I found out what I think was the problem.
As you said, it was IE security settings.
I think there is a difference between running a file as local and runing it from tomcat.(enters
a different security level). So I modified the security settings for
"Initialize and script Active x control not marked as safe" from disable to prompt and it
worked under tomcat as well.
本文解决了在Tomcat服务器环境下无法调用ActiveX控件的问题。通过调整IE的安全设置,特别是将Initialize and script ActiveX control not marked as safe从禁用改为提示,成功实现了在Tomcat下访问ActiveX控件提供的方法。
1682

被折叠的 条评论
为什么被折叠?



