String path = jdbcUtil.class.getClassLoader().getResource("db.properties").getPath();
String path = jdbcUtil.class.getClassLoader().getResource("db.properties").getPath();
本文标题:连接数据库时,读取 properties 文件路径的方式
本文链接:https://www.haomeiwen.com/subject/voomzftx.html
网友评论