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.
Currently I know the following two methods to build View from controller
Return "ModelAndView" object from controller for each request and extract the data in respective JSP (View).
Return JSON and extract it within JSP (View).
Is this the normal way of generating View in Spring MVC?
I found this question which describes best practices when communicating between controller and view. I want to be know, it's done in Spring MVC.