我关闭了在jsp中打开的弹出窗口,点击了submit.jsp,其中包含一个表单。提交它会抛出对象,不能支持属性clospopup。 以下是jsp代码
<%@ page language="java"%>
<%@ taglib uri="WEB-INF/tiles.tld" prefix="tiles"%>
<%@ taglib uri="WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="WEB-INF/struts-logic.tld" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Configure</title>
<link rel="stylesheet" type="text/css" href="./css/css1.css" />
<link rel="stylesheet" type="text/css" href="./css/css2.css" />
<script>
function fnSaveData(){
//var vPlanType = document.getElementById("planType").value;
var description=document.getElementById("description").value;
var url = "<%=request.getContextPath()%>/class.do?operation=save&description="+description;
window.opener.closepopup(url);
}
</script>
</head>
<body>
<table cellspacing=1 cellpadding=0 width="100%" height="100%" >
<form name="cpReportGenerationForm" method="post" >
<tr height="20" bgcolor='#FEE8C6'>
<td class='dpFontText' height=20px align="center" colspan="2">
<strong>
Configuration
</strong>
</td>
</tr>
<tr height="15px">
</tr>
<tr valign="top">
<td>
<table align="center" class="FPinnertable" cellspacing=1 cellpadding=0 width="95%" border=0>
<tr valign="top">
<td>
<table class="dpDataTable" cellspacing="1" cellpadding="0" width="100%" align="center" valign="top" id="tableData">
<tr class="odd">
<td width="20%" class="shadedColoumn">Grid Description </td>
<td width="20%" class="whiteColoumn">
<input type="text" id = "description" Class="ArmsselectionCriteriaElement" style="width:160px" />
</td>
</tr>
<tr valign=top>
<td align="center">
<input type="button" id="Add" value="Add" type="button" class ="ArmsSaveAndRefreshButton" onClick="javascript:fnSaveData();" >
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
请帮我纠正错误。