使用${pageContext.request.contextPath} 出现问题
记录一下这个问题,主要是web.xml文件的问题
中间一部分的内容改成以下形式就可以
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javae
原创
2020-11-30 15:20:44 ·
211 阅读 ·
0 评论