http://localhost:8080/$%7BpageContext.request.contextPath%7D/hello web.xml中的头文件web-app版本过低所致,必须为2.4及以上才能正确的获取相对路径