84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
光阴似箭催人老,日月如移越少年。
<!-- 对静态资源的访问,如 js, css, jpg, png --> <!-- 如 HTML 里访问 /js/jquery.js, 则实际访问的是 /WEB-INF/asset/js/jquery.js --> <mvc:resources mapping="/js/**" location="/WEB-INF/asset/js/" cache-period="31556926"/> <mvc:resources mapping="/css/**" location="/WEB-INF/asset/css/" cache-period="31556926"/> <mvc:resources mapping="/img/**" location="/WEB-INF/asset/img/" cache-period="31556926"/> <mvc:resources mapping="/lib/**" location="/WEB-INF/asset/lib/" cache-period="31556926"/> <mvc:resources mapping="/favicon.ico" location="/WEB-INF/asset/img/favicon.ico" cache-period="31556926"/>
The tag in springmvc is mainly for accessing static resources. Specifically, you can download this tag on Baidu and read related blogs to learn more.
The questioner can try to comment out this configuration code, then the resources under this path will not be accessible.
The tag in springmvc is mainly for accessing static resources. Specifically, you can download this tag on Baidu and read related blogs to learn more.
The questioner can try to comment out this configuration code, then the resources under this path will not be accessible.