?? bulletindel.jsp
字號(hào):
<%--
模塊名稱:公告管理
模塊功能:公告刪除
版 本:V1.0
著 作 人:蔡靜
著作日期:2001-11-12
使用說明:
主要技術(shù)說明:
參考文獻(xiàn):法律事務(wù)設(shè)計(jì)書
修改歷史:= = = = = = = = = = = = = = = = = = = = = = = = = =
修改日期:
修 改 人:
修改理由:
修改出處:
= = = = = = = = = = = = = = = = = = = = = = = = = =
--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*" %>
<%@ page import="system.*" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<%
Security auth = new Security();
String employee_id = (String)session.getAttribute("employee_id");
if(employee_id == null || employee_id.equals(""))
{
response.sendRedirect(response.encodeRedirectURL("../Error/nonlogin.htm"));
}
String modelid = "Bbs020";
int authflag = auth.popedom(employee_id, modelid);
if(authflag == 0 || authflag == 2 || authflag == -1)
{
%>
<jsp:forward page="../inc/noauth.jsp" >
</jsp:forward>
<%
}
%>
<html>
<head>
<title>公告刪除</title>
</head>
<body>
<%
String sql;
String bulletin_ids = request.getParameter("bulletin_ids");
ExtendString es = new ExtendString();
String[] bulletin_id = new String[10];
bulletin_id = es.Split(",",bulletin_ids);
for (int i=0; i<es.length; i++) {
sql = "delete from t_bulletin where bulletin_id='" + bulletin_id[i] + "'";
db.executeUpdate(sql);
}
%>
<script language="javascript">
alert("刪除成功!");
location = "BulletinManage.jsp";
</script>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -