Home  >  Article  >  Web Front-end  >  spring mvc processes static files such as html, css, js and so on_html/css_WEB-ITnose

spring mvc processes static files such as html, css, js and so on_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:11868browse

In spring mvc, you can use the tag to process css, js, images and other files. The usage method is as follows:




< ;mvc:resources location="/WEB-INF/pages/welcome/css/" mapping="/welcome/css/**"/>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn