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