标签: css spring-mvc jsp netbeans
this is the screenshot of the project.I have to add index.css which is in staticResources to index.jsp.How to do it.Also,do i have to make any changes to the Disptacher Servlet
答案 0 :(得分:0)
尝试将其添加到页面顶部
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
然后以这种方式包含您的CSS
<link href="<c:url value="path"/>" rel="stylesheet">