一定程度的解决弹出窗口问题

<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<script language="javascript">
function openTheWindow()
{
// window.open('http://10.235.10.36/microstrategy/asp/Main.aspx','222','')
//window.status="整改增加系统在新窗口展示";
// history.back();
// window.open('<%=path%>/change_add/login.jsp','整改增加系统','');
// return false;
history.back();
document.all.temp.submit();
}
</script>
<body onload="javascript:openTheWindow()">
<form action="<%=path%>/change_add/login.jsp" target='_blank' method="get" name="temp">
</form>
</body>

你可能感兴趣的:(java,jsp,asp)