问题
Fairly new to Spring, in stand alone applications,i have seen the following:
ApplicationContext context = new ClassPathXmlApplicationContext(
"SpringBeans.xml");
But in web application i have not seen this approach of creating using a new keyword. How do we achieve the same in Web app ?
来源:https://stackoverflow.com/questions/42725862/load-applicationcontext-in-java-web-project-not-mvc