요약하면, 생성자는 ModelAndView(View, Pointer, Holder); 형태로 구성이 되어 있으며
화면(View)에 그것을 가르치는(Pointer)것에 내용을 담아서(Holder) 설정하는 것이다.
Here in this case, we are having 3 parameter's in the Method namely ModelandView.
According to this question, the first parameter is easily understood from the question. It represents the View which will be displayed to the client.
The other two parameters are just like The Pointer and The Holder
Hence you can sum it up like this
ModelAndView(View, Pointer, Holder);
The Pointer just points the information in the The Holder
When the Controller binds the View with this information, then in the said process, you can use The Pointer in the JSP page to access the information stored in The Holder to display that respected information to the client.
Here is the visual depiction of the respected process.
출처 : http://stackoverflow.com/questions/5055358/what-is-model-in-modelandview-from-spring-mvc
'etc > old' 카테고리의 다른 글
[라즈베리파이] 영상처리 opencv 설치 (0) | 2017.02.22 |
---|---|
[spring] springboot에서 viewResolver 설정하는 방법 (0) | 2017.02.17 |
[Spring] 스프링 부트에서 CORS 적용하는 방법 (0) | 2017.02.15 |
TypeScript 2.1 출시 (0) | 2016.12.14 |
[java] thread example - loop 방식이던가 ? (0) | 2015.08.17 |