摘要: 1)获取dataSource: ApplicationContext ctx= new FileSystemXmlApplicationContext("/WebRoot/WEB-INF/classes/applicationContext.xml"); DataSource dataSource = (BasicDataSource)ctx.getBean("datasource"); 阅读全文
posted @ 2012-12-27 12:36 lpshou 阅读(722) 评论(0) 推荐(0) 编辑