Inflearn Community Q&A
Model은 무엇을 가리키는 건가요?
Resolved
Written on
·
560
0
Controller는 서블릿
View는 템플릿 엔진
Model은 Member 같은 객체를 의미한다고 생각했는데
HttpServletRequest의 Attribute가 모델이라고 하셔서 질문 드립니다.
Model은 무엇을 가리키는 것이고
Member가 Model이 아니라면 무엇인가요?
springmvc
Quiz
66% of people got it wrong. Give it a try!
Why is it difficult to directly create an HTML screen using only servlets?
Server resource shortage
Complexity of writing HTML inside Java code
Database Connection Problem
Challenges in user authentication
Answer 2
2
MVC 패턴에서 Model은 View와 Controller 사이에 데이터를 주고받기 위한 DTO라고 생각하셔도 좋을 것 같네요.
흐름
View -> Model -> Controller
Controller -> Model -> View

참고
https://ko.wikipedia.org/wiki/%EB%AA%A8%EB%8D%B8-%EB%B7%B0-%EC%BB%A8%ED%8A%B8%EB%A1%A4%EB%9F%AC
감사합니다.
0





답변 감사합니다!!