요약하면, 생성자는 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


+ Recent posts