Spring: Customize the XmlWebApplicationContext
Hi, I will expose you a solution implemented in order to: - filter imports/resource loading in a spring context of general applicationContext.xml, - filter resources in imports or even overloading of beans, - test the environment and conditionally add path locations, For our example, in an web application with a root context definition applicationContext.xml: This context is loaded in the web.xml file of web application: In our ...more»