摘要:
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 阅读全文