What is the best way to generate view from controllers?
<p>I am very new to Spring MVC framework but I have worked with Struts for some time. In Struts each view can be bound with an "ActionForm" object and view can be generated extracting this object.Now I am moving to Spring MVC and have doubt about generating the View from controllers.<br>
Currently I know the following two methods to build View from controller</p>

<ol>
<li><p>Return "ModelAndView" object from controller for each request and extract the data in respective JSP (View).</p></li>
<li><p>Return JSON and extract it within JSP (View).</p></li>
</ol>

<p>Is this the normal way of generating View in Spring MVC?</p>

<p>I found this <a href="https://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers">question</a> which describes best practices when communicating between controller and view. I want to be know, it's done in Spring MVC.</p>