JAVA获得当前tomcat的服务路径
原文转自:http://www.tqcto.com/article/recommend/139.htmlrequest.getSession().getServletContext().getRealPath("") 得到: E:/java/myEclipse/apache-tomcat-5.5.20/apache-tomcat-5.5.20/webapps/IReportTest原文转自:编
·
原文转自:http://www.tqcto.com/article/recommend/139.html
|
request.getSession().getServletContext().getRealPath("") 得到: E:/java/myEclipse/apache-tomcat-5.5.20/apache-tomcat-5.5.20/webapps/IReportTest |
更多推荐



所有评论(0)