将内容的静态页面代码放在 tomcat中访问http://localhost:8080/examples/dss.html,页面报js错误,没有权限
<html>
<head>
<title>boe login</title>
<meta http-equiv="Content-Type" content="text/html;">
</head>
<script language="javascript" type="text/javascript">
var oReq = new ActiveXObject("MSXML2.XMLHTTP.3.0");
oReq.open("POST", "http://60.191.123.108/Page/Main/index.php",false);
</script>
<body >
pppp
</body>
</html>
将以上内容的静态页面放在 tomcat中访问http://localhost:8080/examples/dss.html,页面报js错误,没有权限
直接打开上面html静态页面,提示限制Activex,允许内容加载后,页面不报js错误,这是什么原因?怎么解决这个问题?