可以执行,可是执行后想删除的那一列还在,请问这是什么问题?部分代码如下:
<%@
    page import="java.sql.*,wcl.*"
 %>
 
 <%
 String s = request.getParameter("id");
     
 
 Connection conn = null;
 Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:mysql://localhost/justshow?user=root&password=123");
 Statement stmt = conn.createStatement();
 
     stmt.executeUpdate("delete from xueyi where tanwei="+"'s'");
     System.out.println("hao");
     
     
     stmt.close();
     conn.close();
 %>