如何获取tomcat下的webapps的绝对路径呢_百度知道
[专业]答案:你可以在先获取后存储到request或者session中。,然后在jsp中使用el去取。 //项目路径 String path = request.getSession().getServletContext()...更多关于怎样用EL表达式获取tomcat下webapps的路径?的问题>>
在java程序中获得Tomcat下的webapps绝对路径的程序怎么..._百度知道
[专业]答案:jsp中:request.getContextPath() servlet、action中: HttpSession session = request.getSession(); ServletContext application = session.getServletContext...更多关于怎样用EL表达式获取tomcat下webapps的路径?的问题>>