deletearticle_do.jsp~4~
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:1k
源码类别:

OA系统

开发平台:

Java

  1. <%@ page contentType="text/html; charset=GBK" import="java.sql.*,java.lang.*" %>
  2. <%request.setCharacterEncoding("gbk"); %>
  3. <jsp:useBean id="sql" scope="page" class="control.sqlcontrol" />
  4. <html>
  5. <head>
  6. <title>
  7. deletearticle_do
  8. </title>
  9. </head>
  10. <body bgcolor="#ffffff">
  11. <%try{
  12.   sql.getSQL2005conn("dbconfig.xml");
  13.   String id = request.getParameter("deleteid");
  14.   String p = request.getParameter("page");
  15.   sql.AutoDeleteUpdate("article","id="+id+"");
  16.   response.sendRedirect("articleMana.jsp");
  17. }catch(Exception ex){
  18.   ex.printStackTrace();
  19. }
  20. %>
  21. </body>
  22. </html>