原文转自: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

原文转自: 编程技术

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐