1 URL url = ServletContextDemo3.class.getClassLoader().getResource("config.properties");
2         System.out.println(url.getPath());
3         

 

相关文章:

  • 2022-01-31
  • 2022-12-23
  • 2021-10-01
  • 2022-12-23
  • 2021-08-30
  • 2021-06-28
猜你喜欢
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
相关资源
相似解决方案