摘要:
private ArticleInfoDaoImpl articleInfoDao; public void testSave(){ ApplicationContext context = new ClassPathXmlApplicationContext( new String[] { "applicationContext.xml" }); //src下spring配置文件 BeanFactory factory = (BeanFactory) context; articleInfoDa... 阅读全文