📄 del.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="conn" scope="page" class="load.DBManager"/>
<%!
String sql="";
int i=0;
%>
<% if(session.getAttribute("login")==null||!session.getAttribute("login").equals("ok")){ %>
<jsp:forward page="login.jsp"/>
<%
}
String id=request.getParameter("id");
sql="delete * from download where id="+id;
i=conn.executeUpdate(sql);
if(i>0){
%>
<html>
<head>
<title>软件删除成功</title>
</head>
<body bgcolor="#FFFFFF">
<center>
<table border="1" cellpadding="0" cellspacing="0" width="50%" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#000099">
<td width="100%"><p align="center"><font color="#FFFFFF" size="3">软件仓库--删除成功</font></p></td>
</tr>
<tr>
<td>
<table width="100%">
<tr>
<td>
<p align="center"> </p>
<p align="center">恭喜恭喜!<br>
软件删除成功!<br>
<p align="center">是否继删除软件?</p>
<p align="center"><a href=xtwh.jsp>是</a> <a href=xtwh.jsp>否</a></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</center>
</html>
<%
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -