A small pit encountered using ssm (spring+springmvc+mybatis)

When we are doing ssm login interception, generally css, js and pictures are placed in different files. When the editor is developing, I checked the link style and there is no problem. But there will be the following problems

Resource interpreted as Stylesheet but transferred with MIME type text/html: 

Insert picture description here
After searching for a long time, no problem was found.
It turned out that css and js were blocked when configuring the interceptor.
We just need to set it up. The directory structure needs
Insert picture description here
to be set in your interception file.
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43101671/article/details/104050893