yanjunwu

URL url = this.getClass().getResource("");

try{

  //需要根据实际情况写http://www.cnblogs.com/

  String path = new File(url.getPath(),"http://www.cnblogs.com/").getCanonicalPath();

}catch(Exception e){

}

 

分类:

技术点:

相关文章:

  • 2021-07-29
  • 2021-10-04
  • 2021-08-07
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-02-07
  • 2021-11-18
  • 2022-02-07
相关资源
相似解决方案