(SERVLET) 핸들러 인터셉터(2)
2020. 2. 5. 22:13
앞서 살펴보았던 세 가지 메서드를 override 합니다. public class GreetingInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { System.out.println("preHandle 1"); return true; } @Override public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView mo..