강의

멘토링

로드맵

Inflearn Community Q&A

setvect0069's profile image
setvect0069

asked

Spring Boot Concepts and Utilization

Spring Web MVC Part 9: ExceptionHandler

정적 페이지를 고칠 때마다 서버를 재시작 해야하나요?

Written on

·

604

0

400.html를 404.html로 수정하면서 재시작를 하시더라고요.

예전에 JSP에서는 안에 있는 내용이 추가 되거나 파일명이 변경되면 런타임에 반영이 되거든요.

정적콘텐츠가 수정될 때마다 서버를 재시작하는 건 너무 비효율적인것 같습니다.

좋은 방법이 없을까요?

spring-bootspringjava

Quiz

What is the core Spring Boot feature that automatically configures necessary beans just by adding dependencies?

Aspect-Oriented Programming

Dependency Injection

Auto-Configuration

Convention over Configuration

Answer 2

0

setvect0069님의 프로필 이미지
setvect0069
Questioner

spring-boot-dev-tools 잘 사용 안하신다고 하셔서, 뭔가 더 좋은 방법이 있는줄 알았습니다.

0

whiteship님의 프로필 이미지
whiteship
Instructor

spring-boot-dev-tools를 쓰시면 재시작 하지 않고 프로젝트 빌드만 해도 추가하거나 변경된 파일을 볼 수 있을겁니다.

스프링 부트 강좌 참고해 주세요.

좋은 질문 감사합니다.

setvect0069's profile image
setvect0069

asked

Ask a question