日期:2014-05-17  浏览次数:20697 次

麻烦各位大哥进来看看,request.getServletContext().getRealPath() 和request.getRea取路径为null的问题。
request.getServletContext().getRealPath() 和request.getRealPath获取路径null,求指导。百度搞不定啊。

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