I try mapping resource into spring-servlet.xml
<context:component-scan base-package="Controller"/>
<mvc:annotation-driven/>
<mvc:resources mapping="/resources/**" location="/resources/"/>
And include jsp page:
<link rel="stylesheet" href="<c:url value="/resources/css/common/common.css"/> ">
Css seem not active! My struct project: Myproject
答案 0 :(得分:0)
您需要按如下方式引用资源,
move C:\directory\folderx C:\directory\foldery C:\directory\folderz > C:\directory\folderq
同时检查您是否正确配置了资源目录。