title: Relationship between Spring DispatcherServlet and Filters
body: <p>Spring MVC uses a <code>DispatcherServlet</code> to route control to an appropriate Controller. But where do filters fit into the flow? If I specify a filter to perform session management or authentication, will the filters always be called before DispatcherServlet? </p>
  
  <p>My confusion comes from the fact that they both specify a URL pattern. What happens if they both provide the same url pattern?</p>