controller/member/LogoutKakao.java
페이지 정보
작성자 관리자 작성일 24-04-09 14:59 조회 310 댓글 0본문
package controller.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 javax.servlet.http.HttpSession;
@WebServlet("/member/kakaoLogout")
public class LogoutKakao extends HttpServlet {
private static final long serialVersionUID = 1L;
public LogoutKakao() {
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
HttpSession session = request.getSession();
session.invalidate();
}
}
추천0
댓글목록 0
등록된 댓글이 없습니다.