spring读取xml的方法
一:
new ClassPathXmlApplicationContext("/spring.xml")
二:
new FileSystemXmlApplicationContext
(“D:\\struts_hibernate_spring\\struts_hibernate\\web\\WEB-INF\\applicationContext.xml”)
一:
new ClassPathXmlApplicationContext("/spring.xml")
二:
new FileSystemXmlApplicationContext
(“D:\\struts_hibernate_spring\\struts_hibernate\\web\\WEB-INF\\applicationContext.xml”)