05 2019 档案
摘要:java web项目中 获取resource路径下的文件路径 public GetResource{ String path = GetResource.class.getClassLoader().getResource("xx/xx.txt").getPath(); } 扩展 一 相对路径的获得
阅读全文
摘要:连接mysql3306端口命令 mysql -h58.64.217.120 -ushop -p123456 连接非3306端口(指定其他端口) 的命令 mysql -h58.64.217.120 -P3308 -ushop -p123456 不同的地方我已经用黄色的标注了 注意: -P 要大写 原理
阅读全文