我的目录是
webroot/css/xx.css
webroot/web-info/page/xx.jsp
jsp被映射为http://localhost/project/xx.acton
我在jsp中使用绝对路径
加上
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
但是并没用引用上。怎么回事呢?