ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath:*conf-*.xml"); //或者 ApplicationContext ctx = new ClassPathXmlApplicationContext("classpath*:a.xml,b.xml"); //或者 ApplicationContext ctx = new ClassPathXmlApplicationContext( new String[] {"services.xml", "daos.xml"}, MessengerService.class); //或者 ApplicationContext ctx = new ClassPathXmlApplicationContext( new String[] {"services.xml", "daos.xml"}); 这个第三种是从 MesssengerService.class 的同文件夹下面找,那么这个第四种是什么意思呢?
