Latest Tutorials| Questions and Answers|Ask Questions?|Site Map

Home Spring Spring3.2 Processing Sequence of DispatcherServlet

Related Tutorials


Share on Google+Share on Google+

Processing Sequence of DispatcherServlet

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.



If you enjoyed this post then why not add us on Google+? Add us to your Circles

Liked it!  Share this Tutorial

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 31, 2012

Related Tutorials

Discuss: Processing Sequence of DispatcherServlet  

Post your Comment

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