【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了abandon.jsp相关资料,希望对各位网友有所帮助!
<%@ page contentType="text/html; charset=gb2312"%>
<%@ include file="verify.jsp" %>
<%@ include file="../share/connection.jsp" %>
<%
String name = (String)session.getAttribute("adminname");
if(!name.equals("admin"))
{
out.println("您没有此权限");
return;
}
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%
String userid=request.getParameter("userid");
String strSQL="delete from cs_user where user_id="+userid+" limit 1";
if (stm.executeUpdate(strSQL)==1)
out.print("删除成功");
%>
</body>
</html>
上一篇:
aaa.jsp
下一篇:
让我掉下眼泪的