안녕하세요. 오늘은 서버사이드 렌더링 환경에서 사용되는 템플릿 엔진중 thymeleaf라는 템플릿 엔진을 예제로 스프링부트로 서버사이드 렌더링했을 때 서버를 직접 재시작하지 않고도 화면을 갱신하는 방법을 공유하고자 합니다. 먼저 필요한 컨트롤러를 작성합니다. 컨트롤러 @Controller public class HelloController { @GetMapping("/hello") public String hello(Model model) { model.addAttribute("data", "hello"); return "hello"; } } locahost:8080 를 기본으로 /hello로 접근했을 때, templates/hello.html 파일을 찾아내서 렌더링하게 될 것입니다. hello.html..