admin/member/Delete.java
페이지 정보
본문
package admin.member;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import dao.AdminMemberDAO;
@WebServlet("/admin/member/delete")
public class Delete extends HttpServlet {
private static final long serialVersionUID = 1L;
public Delete() {
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String id = request.getParameter("id");
AdminMemberDAO dao = new AdminMemberDAO();
dao.deleteMember(id); //아이디 삭제
response.sendRedirect("list");
}
}
- 이전글admin/member/Modify.java 23.03.18
- 다음글dao/AdminMemberDAO.java 23.03.18
댓글목록
등록된 댓글이 없습니다.