Spring MVC: ModelAndViewContainer: View is [null]; default model{Some-Object}
问题 I am using Spring-mvc with ContentNegotiatingViewResolver for handle my response objects and parse into a specific format. When i return the object from controller, in response it add my response object but also add the object which i used to map the request parameter. My controller is act as rest controller. Because i want to create rest-services using spring with ContentNegotiatingViewResolver . After debugging, i found InvocableHandlerMethdod class in which invokeForRequest method contain