Home Spring Spring3.2 Processing Sequence of DispatcherServlet



Processing Sequence of DispatcherServlet
Posted on: December 31, 2012 at 12:00 AM
Processing Sequence of DispatcherServlet

Processing Sequence of DispatcherServlet

In this section, you will get to know about the processing sequence of DispatcherServlet.

After the configuring DispatcherServlet, when the request comes, the DispatcherServlet caught the request and starts processing the request in the following order :

  • First the WebApplicationContext is searched and it is bound in the request as an attribute.

  • The locale resolver and the theme resolver is bound to the request to determine the locale and theme during request processing.

  • The DispatcherServlet searches suitable handler and consult with it to call the appropriate Controller. The Controller process the request using appropriate service method and set model data and returns the view name to the DispatcherServlet.

  • The Front controller afterwards resolves the view with the help of View Resolver and passes the model data to the view, to finally render the view on the browser.

 

Related Tags for Processing Sequence of DispatcherServlet:


More Tutorials from this section

Ask Questions?    Discuss: Processing Sequence of DispatcherServlet  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.