Spring Boot를 사용하여 웹 애플리케이션을 개발할 때, 모든 페이지에서 일관된 Header와 Footer를 사용하는 것은 중요한 디자인 요소이다. 이를 위해 Spring Boot에서는 Thymeleaf와 같은 템플릿 엔진을 통해 간단하게 Header와 Footer를 포함할 수 있다. 1. Thymeleaf Dependency 추가하기먼저, pom.xml 파일에 Thymeleaf dependency를 추가한다. Spring Boot에서는 기본적으로 Thymeleaf를 지원하므로 추가적인 설정 없이도 사용할 수 있다. org.springframework.boot spring-boot-starter-thymeleaf 2. 템플릿 작성하기✅ Header와 Footer 템플릿 파일 생성src/m..