Apr 4 in Spring
Q: What is the Model in Spring MVC?

1 Answer

0 votes
Apr 4

Model is a reference to have the data for rendering.

It is always created and passed to the view in Spring MVC. If a mapped controller method has Model as parameter, then that model instance is automatically injected to that method.

Any attributes set on the injected model would be preserved and passed to the View.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Apr 4 in Spring
0 votes
Apr 4 in Spring
...