Java Web获取Web应用根路径
摘要:
最基本的1,request.getRealPath("/");这个方法已不推荐用 -->request.getSession().getServletContext().getRealPath("/") 2,在Servlet 里用this.getServletContext().getRealPat... 阅读全文
posted @ 2013-02-28 10:00 hzm_frank 阅读(797) 评论(0) 推荐(0) 编辑