打开url出现乱码:
http://localhost:8080/oneself/$%7BpageContext.request.contextPath%7D/css/reset.css
这种原因,是因为web项目中的配置文件web.xml版本过低,需要换成2.5以上的就可以了
<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/javaee/web-app_3_1.xsd" version="3.1">