記錄下讀取applicationContext.xml路徑的問題

今天在使用Cxf框架和Spring整合進行WebService客戶端操做時,讀取XML文件的時候發現本身都忘記了,找了些資料,也本身測試了,如今記錄下來。html 1.Spring的配置文件在類路徑下java src下的applicationContext.xm,能夠經過編程 ApplicationContext applicationContext = new ClassPathXmlAppli
相關文章
相關標籤/搜索