What is the Model?

Technology CommunityCategory: SpringWhat is the Model?
VietMX Staff asked 3 years ago

Model is a reference to encapsulate the data or output for rendering. Model is always created and passed to the view in Spring MVC. If a mapped controller method has Model as a method parameter, then a model instance is automatically injected by Spring framework to that method.