public void doGet(HttpServletRequest request, HttpServletResponse response) {
        response.setContentType("text/html");//设置服务器响应的内容格式
        // response.setCharacterEncoding("gb2312");//设置服务器响应的字符编码格式。
        DButil ab = new DButil();
        try {
            PrintWriter pw = response.getWriter();
            String tep=new String(request.getParameter("tid").getBytes("ISO-8859-1"));
            // String name = new String(request.getParameter("name").getBytes("ISO-8859-1"));//能显示中文
            int id=Integer.valueOf(tep);
            System.out.println("delete id"+id);
           if(ab.deletestudent(id)) {

               request.getRequestDispatcher("succ.jsp?info='delete success'").forward(request, response);

           }



        } catch (Exception e) {
        }
    }