摘要: Properties properties = new Properties(); InputStream inputStream = getClass().getClassLoader().getResourceAsStream("datasource.properties"); try { properties.load(inputStream); } catch (IOException e) { e.printStackTrace(); } System.out.print(properties.getProperty("initialContextfac 阅读全文
posted @ 2012-09-21 21:34 andysd 阅读(4305) 评论(0) 推荐(0) 编辑