📄 bulletinamendrun.jsp
字号:
<%--
模块名称:律所公告
模块功能:公告修改
版 本:V1.0
著 作 人:蔡静
著作日期:2001-11-12
使用说明:
主要技术说明:
参考文献:法律事务设计书
修改历史:= = = = = = = = = = = = = = = = = = = = = = = = = =
修改日期:2001-12-28
修 改 人:Celts
修改理由:内容转化保存
修改出处:
= = = = = = = = = = = = = = = = = = = = = = = = = =
--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<jsp:useBean id="stringset" class="system.ExtendString" scope="page" />
<%
String bulletin_id, bulletin_title, bulletin_content;
bulletin_id = request.getParameter("bulletin_id");
bulletin_title = new String(request.getParameter("bulletin_title").getBytes("ISO8859-1"));
bulletin_content = new String(request.getParameter("bulletin_content").getBytes("ISO8859-1"));
String sql = "update t_bulletin set bulletin_title =' " + bulletin_title + "'";
sql = sql + ",bulletin_content = '" + bulletin_content + "'";
sql = sql + " where bulletin_id='" + bulletin_id + "'";
int num = db.executeUpdate(sql);
if (num <= 0) {
}
%>
<html>
<head>
<title>修改成功</title>
</head>
<body>
<script language="javascript">
alert("修改成功!");
location = "BulletinManage.jsp";
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -