获取tomcat安装地址

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


posted @ 2013-10-29 10:49  怜幺  阅读(208)  评论(0编辑  收藏  举报