Search Interview Questions
| 3348 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Recently asked in TCS , Tech Mahindra, HCL , Accenture and Fidelity.|
|Ans. The DispatcherServlet configured in web.xml file receives the request.|
The DispatcherServlet finds the appropriate Controller with the help of HandlerMapping and then invokes associated Controller.
Then the Controller executes the logic business logic and then returns ModeAndView object to the DispatcherServlet.
The DispatcherServlet determines the view from the ModelAndView object.
Then the DispatcherServlet passes the model object to the View.
The View is rendered and the Dispatcher Servlet sends the output to the Servlet container.
Finally Servlet Container sends the result back to the user.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  j2ee   spring   mvc   frameworks   web applications   architecture Asked in 10 Companies Basic   frequent|
|What are the benefits of using Spring Framework ?|
|What is MVC ?|
|How can we manage Error Messages in the web application ?|
|Difference between Java beans and Spring Beans ?|
|What bean scopes does Spring support? Explain them.|
|What are some differences between Spring caching and Hibernate caching?|
|Can we have two beans with same class with different bean id in spring ?|
|What is the difference between Singleton and Prototype Bean scope in Spring ?|
|What are different modules of spring ?|