What is the difference between model and modelmap in spring?
Answer / Pradeep Kumar Dixit
Model generally refers to a Java POJO (Plain Old Java Object) that represents a row of data from a database. ModelMap, on the other hand, is a Spring-specific class used to hold a collection of attributes for use with views. It allows you to pass data between the controller and the view.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a bean in spring?
What is embedded container in spring boot? : Spring Boot
What is namedparameterjdbctemplate in spring?
How to upload a file to spring mvc?
What is the bean life cycle in spring bean factory container?
What is the difference between @autowired and @qualifier?
What do you know the spring mvc interceptor and how is it used?
Name the types of transaction management that are supported by spring?
Differentiate between beanfactory and applicationcontext.
Explain the concept and function of the path variable.
What is the difference between dao and repository?
What is beanfactoryaware in spring?