首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

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

2013-11-16 
麻烦各位大哥进来看看,request.getServletContext().getRealPath() 和request.getRea取路径为null的问题。r

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

热点排行