当前位置: 代码迷 >> Java Web开发 >> 麻烦进来看看,request.getServletContext().getRealPath() 和request.getRea取路径为null的有关问题
  详细解决方案

麻烦进来看看,request.getServletContext().getRealPath() 和request.getRea取路径为null的有关问题

热度:8351   发布时间:2016-04-10 23:40:24.0
麻烦各位大哥进来看看,request.getServletContext().getRealPath() 和request.getRea取路径为null的问题。
request.getServletContext().getRealPath() 和request.getRealPath获取路径null,求指导。百度搞不定啊。

------解决方案--------------------
request.getServletContext().getRealPath("/")试试
  相关解决方案