@ResponseBody(or ResponseEntity<T>)가 있을 때와 없을 때의 동작 방식 차이 #194
GIVEN53
started this conversation in
Spring MVC
Replies: 2 comments
-
있으면, 스프링은 컨트롤러에서 반환된 값을 HTTP 응답 본문에 직접 쓴다. 없으면, 스프링은 반환값을 ‘뷰 이름’으로 해석한다. |
Beta Was this translation helpful? Give feedback.
0 replies
-
만약 없다면, 반환 값은 뷰 이름으로 간주됩니다. Spring MVC는 해당 뷰 이름에 매핑되는 파일을 찾아 렌더링합니다. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
.
Beta Was this translation helpful? Give feedback.
All reactions