Spring MVC Interview Questions | Snaprecruit.com
Spring MVC Interview Questions | Snaprecruit.com
JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing
Enterprises
Spring MVC interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which of the following component intercepts all requests in a Spring MVC application?
A. FilterDispatcher
B. DispatcherServlet
C. ControllerServlet
D.
Show Correct Answer
Correct Answer is :
DispatcherServlet
2. Which component is used to map a request to a method of a controller?
A. RequestMapping
B. RequestMapper
C. URLMapper
D. RequestResolver
Show Correct Answer
Correct Answer is :
RequestMapping
3. Which of the following can not be the return type of a request processing method of a controller?
A. String
B. Void
C. Object
D. ModelAndView
Show Correct Answer
Correct Answer is :
Object
4. Which annotation is required to receive a model object initialized by the request parameters, in a request processing method?
A. @RequestParam
B. @ModelAttribute
C. @ModelObject
D.
Show Correct Answer
Correct Answer is :
@ModelAttribute
5. --- is required to load the beans configured in applicationContext.xml file?
A. ContextLoader
B. ContextLoaderListener
C. ApplicationContextLoader
D.
Show Correct Answer
Correct Answer is :
ContextLoaderListener
Similar Interview Questions
Search for latest jobs
Title
Location
Find Jobs