参考解答
FileSystemXmlApplicationContext 容器加载XML文件中beans的定义。XML Bean配置文件的完整路径必须传递给构造器。
FileSystemXmlApplicationContext 容器也加载XML文件中beans的定义。注意,你需要正确的设置CLASSPATH,因为该容器会在CLASSPATH中查看bean的XML配置文件。
WebXmlApplicationContext:该容器加载xml文件,这些文件定义了web应用中所有的beans。
相似问题
Bean Factory和ApplicationContext有什么区别?
Bean Factory和ApplicationContext有什么区别?
什么是Spring?
什么是Spring?
什么是AOP模块?
什么是AOP模块?
什么是Spring MVC模块?
什么是Spring MVC模块?
什么是web模块?
什么是web模块?
