request.getContextPath()  :获取当前项目的上下文   相对路径
getServletContext()    :获取当前项目上下文   绝对路径
posted on 2020-08-15 16:05  谢晨锋  阅读(155)  评论(0)    收藏  举报