Model
is an interface while ModelMap
is a class.
ModelAndView
is just a container for both a ModelMap
and a view object. It allows a controller to return both as a single value.
More Related Contents:
- Using JSF as view technology of Spring MVC
- How to avoid the “Circular view path” exception with Spring MVC test
- What is difference between @RequestBody and @RequestParam?
- Spring Hibernate – Could not obtain transaction-synchronized Session for current thread
- ${employee.id} from List in JSP throws java.lang.NumberFormatException: For input string: “id”
- How do I prevent people from doing XSS in Spring MVC?
- What’s the difference between and in servlet?
- Spring boot – Not a managed type
- Spring 3 MVC resources and tag
- @Scope(“prototype”) bean scope not creating new bean
- File Upload with Angular2 to REST API
- Bean injection inside a JPA @Entity
- how to capture multiple parameters using @RequestParam using spring mvc?
- Spring + Web MVC: dispatcher-servlet.xml vs. applicationContext.xml (plus shared security)
- How to correctly use PagedResourcesAssembler from Spring Data?
- No mapping found for HTTP request with URI…. in DispatcherServlet with name [duplicate]
- Can I make a custom controller mirror the formatting of Spring-Data-Rest / Spring-Hateoas generated classes?
- JPA / JTA / @Transactional Spring annotation
- How to handle HTTP OPTIONS requests in Spring Boot?
- Spring MVC Annotated Controller Interface with @PathVariable
- Neither BindingResult nor plain target object for bean name available as request attr [duplicate]
- Multiple antMatchers in Spring security
- An Authentication object was not found in the SecurityContext – Spring 3.2.2
- Scope of a Spring-Controller and its instance-variables
- How to use with an tag?
- Spring: @ModelAttribute VS @RequestBody
- Spring-MVC: What are a “context” and “namespace”?
- Looking for a Simple Spring security example [closed]
- Spring MVC bean mapping to HTTP GET request parameters similar to @BeanParam
- Is it possible to invalidate a spring security session?