WebRoot/student/kecheng4.jsp

(完整代码) 689B

<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.sql.*" %>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="proj112.*" %>
<jsp:useBean id="a" scope="page" class="proj112.dbconn"/>
<html>
<head>
<title>
kecheng4
</title>
</head>
<body bgcolor="#ffffff">

<%
 request.setCharacterEncoding("GBK");
 String kechenghao=request.getParameter("id3");
 String xuehao=(String)session.getAttribute("id");
 String sql="";
   sql="DELETE FROM xuanke  where stu_id='"+xuehao+"' and kch='"+kechenghao+"'";
   out.print(sql);
   a.executeUpdate(sql);
   
  response.sendRedirect("kecheng3.jsp") ;
 %>




</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。