📣 링크 📞 JSP, JS [ Spring ] 채팅 기능구현 - JSP JS 📣 링크 📞 JSP, JS https://mungwang.tistory.com/entry/Spring-%EC%B1%84%ED%8C%85-%EA%B8%B0%EB%8A%A5%EA%B5%AC%ED%98%84-JSP-JS 📞 ChattingController https://mungwang.tistory.com/entry/Spring-%EC%B1%84%ED%8C%85%EA%B8%B0%EB%8A%A5%EA%B5%AC%ED%98%84-Contr mungwang.tistory.com 📞 ChattingController [ Spring ] 채팅 기능구현 - Controller 📣 링크 📞 JSP, JS https://mungwang.tisto..
Controller
package edu.kh.project.common; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; // 예외 처리용 컨트롤러 (프로젝트 전역) @ControllerAdvice public class ExceptionController { @ExceptionHandler(Exception.class) public String exceptionHandler(Exception e, Model model) { // Exception e : 예외 정보를 담고있는..