luhuimin
System.out.println(new File(System.getProperty("user.dir")));

System.out.println(new File(System.getProperty("catalina.home")));


运行结果为:   

F:\apache-tomcat-6.0.37\bin
F:\apache-tomcat-6.0.37


分类:

技术点:

相关文章:

  • 2021-12-23
  • 2021-11-05
  • 2021-12-10
  • 2021-11-19
  • 2021-11-19
  • 2021-11-19
  • 2021-12-05
  • 2021-12-05
猜你喜欢
  • 2021-09-27
  • 2021-10-07
  • 2021-12-23
  • 2021-09-27
  • 2021-12-23
  • 2021-12-05
  • 2021-12-15
相关资源
相似解决方案