使用 ${pageContext.request.contextPath} 获取项目绝对路径。 转载于:https://www.cnblogs.com/dengsheng/p/10679008.html