Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Spring Interview Questions
→
Spring AOP, Spring JDBC, Spring Hibernate Interview Questions in Spring Interview Questions
→
What is the Model in Spring MVC?
1.
What is the Model in Spring MVC?
Answer»
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 a 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.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What will be the selection state of a checkbox input if the user first checks the checkbox and gets validation errors in other fields and then unchecks the checkbox after getting the errors?
How is it possible to use the Tomcat JNDI DataSource in the Spring applications?
What do you understand by MultipartResolver?
How are i18n and localization supported in Spring MVC?
Differentiate between a Bean Factory and an Application Context.
How to get ServletConfig and ServletContext objects in spring bean?
How is the form data validation done in Spring Web MVC Framework?
What are the differences between the vs tags?
Is there any need to keepspring-mvc.jar on the classpath or is it already present as part of spring-core?
What are Spring Interceptors?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies