title: What does configureDefaultServletHandling means?
body: <p>I am trying to understand how does Spring MVC works, and I don't understand this part of code in my Spring configurations:</p>
  
  <pre><code>@Override
  public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
      configurer.enable();
  }
  </code></pre>
  
  <p>When this is in my <code>WebContextApplication</code> class, everything works fine and when it's not present everything works fine too. So what is the purpose of this method? Should my <code>WebContextApplication</code> class have this method? and why?</p>