title: multiple ContextLoader* definitions
body: <pre><code>public class SpringMVCWebAppInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {
  
  @Override
  protected Class&lt;?&gt;[] getRootConfigClasses() {
      return new Class[] { LoginApplicationConfig.class };
  }
  
  @Override
  protected Class&lt;?&gt;[] getServletConfigClasses() {
      return null;
  }
  
  @Override
  protected String[] getServletMappings() {
      return new String[] { "/" };
  }
  
  }
  
  public class Initializer extends AbstractHttpSessionApplicationInitializer {
  
     public Initializer() {
         super(Config.class); 
     }
  }
  </code></pre>
  
  <p>How can i use both SessionManager and AbstractAnnotationConfigDispatcherServletInitializer without making multiple ContextLoader* definitions?</p>