阅读背景:

java web项目中 获取resource路径下的文件路径

来源:互联网 

public GetResource{

  String path = GetResource.class.getClassLoader().getResource("xx/xx.txt").getPath();  String path = GetResour




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: