jsp页面问题,在IE6运行是没有问题的,但是在IE7中有问题,大家帮忙看看
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<base target="_self">
<body onload="self.close();">
<html:errors/>
<logic:messagesNotPresent>
<script>
dialogArguments.document.forms[0].cname.value="<c:out value='${childCompanyName}'/>";
dialogArguments.document.forms[0].cnum.value="<c:out value='${childCompanyNum}'/>";
dialogArguments.document.forms[0].cdistrictNum.value="<c:out value='${districtNum}'/>";
</script>
</logic:messagesNotPresent>
</body>
</html>
错误提示如下:
jsp页面弹出提示框:‘dialogArguments ' 未定义
点击确定后
有弹出个提示框:您查看的网页正在试图关闭窗口。是否关闭窗口?
问题挺怪,不是页面传值问题,IE6运行一切正常,为什么用IE7就报错,有没有什么通用的办法解决?IE6、IE7都能正常?
请大家帮忙