강의

멘토링

로드맵

Inflearn Community Q&A

shyphic4383's profile image
shyphic4383

asked

Spring MVC Part 2 - Backend Web Development Utilization Technology

BasicErrorController 질문드립니다.

Written on

·

302

0

안녕하세요.
P5에
/error 동일한 경로를 처리하는 errorHtml() , error() 두 메서드를 확인할 수 있다.
라고 되어 있어 BasicErrorController를 찾아보니 url 매핑이 아래처럼 되어있습니다.
@RequestMapping("${server.error.path:${error.path:/error}}")
뭔가 프로퍼티를 참조하는것 같은데 위의 내용을 어떻게 해석해야 되는지 잘 모르겠네요...
프로퍼티 안에 또 프로퍼티가 들어가 있는것도 처음보고... ':' 문자는 무슨 의미인지도 잘 모르겠습니다.
확인좀 부탁드리겠습니다
MVCspring

Answer 1

0

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 아카펠라님

다음 질문을 참고해주세요.

https://www.inflearn.com/questions/250787

감사합니다.

shyphic4383's profile image
shyphic4383

asked

Ask a question