Spring整合多个配置文件

方法一: ApplicationContext ioc = new ClassPathXmlApplicationContext("Beans-*"); 它表示配置全部以“Beans-”开头的xml   配置文件html   方法二: ApplicationContext ioc = new ClassPathXmlApplicationContext("文件一.xml","文件二"); 经过此方
相关文章
相关标签/搜索