⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 groupdelete.jsp

📁 一个用struts tiles的在线影院web系统
💻 JSP
字号:
<?xml version="1.0" encoding="gb2312" ?>
<%@ page language="java" contentType="text/html; charset=gb2312" pageEncoding="gb2312"%>
<%@ page import="com.blue.web.common.util.*"%>
<%@ page import="com.eline.vod.utils.*"%>
<%@ page import="com.eline.vod.client.*"%>
<%
String indexId = StringUtils.toString(request.getParameter("indexId"));
System.out.println("groupDelete.jsp.indexId=" + indexId);
String[] strIdList = indexId.split(";");

boolean isEmpty = true;
for (int i = 0; i < strIdList.length; i ++) {
	int index = StringUtils.getInt(strIdList[i], 0);
	if (index != 0) {
		isEmpty = Groups.isGroupEmpty(index);
		if (!isEmpty)
			break;
	}
}

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>groupDelete</title>
		<link href="../style/default.css" type="text/css" rel="stylesheet" />
		<script language="javascript">
function buttonCancel_onclick() {
	var dlgWnd = window;

	if (window.parent != null)
		dlgWnd = window.parent;
	dlgWnd.close();

	return true;
}
</script>
	</head>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0">
		<form name="Form1" method="post" action="<%=SiteUrls.getInstance().getProperty(SiteUrls.GROUP)%>?webAction=2">
			<table width="100%" class="tableBorder" cellpadding="1" cellspacing="1">
				<tr>
					<td align="center" class="tableHeader1">
						<%if (!isEmpty){%>
						某些组不为空...<br/>
						<%} %>
						您确定要删除这<%=strIdList.length%>项数据吗?
					</td>
				</tr>
				<tr>
					<td align="center">
						<input type="hidden" name="deletes" value="<%=indexId%>" />
						<input class="clsMenuItem" type="submit" value="删除" />
						<input class="clsMenuItem" type="button" value="放弃" onclick="return buttonCancel_onclick()" />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -