title: Spring root WebApplicationContext for Servlet
body: <p>I have a webapp that uses SpringMVC DispatcherServlet to load a WebApplicationContext. The Spring reference documentation <a href="http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html#mvc-servlet" rel="noreferrer">says</a>: </p>
  
  <blockquote>
    <p>"each DispatcherServlet has its own
    WebApplicationContext, which inherits
    all the beans already defined in the
    <strong>root WebApplicationContext</strong>. These
    inherited beans can be overridden in
    the servlet-specific scope, and you
    can define new scope-specific beans
    local to a given servlet instance.</p>
  </blockquote>
  
  <p>But where do I put this root WebApplicationContext?</p>