| java Programming Glossary: xmlwebapplicationcontextSpring: namespace vs contextConfigLocation init parameters in web.xml http://stackoverflow.com/questions/15818047/spring-namespace-vs-contextconfiglocation-init-parameters-in-web-xml  the context used by this Servlet. By default the XmlWebApplicationContext is used. contextConfigLocation String that is passed to the.. to a WEB INF test servlet.xml default location with XmlWebApplicationContext . The namespace can also be set explicitly via the namespace.. .... The default context class for FrameworkServlet is XmlWebApplicationContext . From the XmlWebApplicationContext API docs emphasis mine By.. 
 How to register Spring @Configuration annotated class instead of applicationContext.xml file in web.xml? http://stackoverflow.com/questions/8075790/how-to-register-spring-configuration-annotated-class-instead-of-applicationcont  instead of the default XmlWebApplicationContext context param param name contextClass param name param value.. instead of the default XmlWebApplicationContext init param param name contextClass param name param value  org.springframework.web.context.support.AnnotationConfigWebApplicationContext.. 
 |