为什么老说无法加载资源文件?
图二以及目录下的resources文件夹和pages里面resources文件夹是一样的内容.
求赐教,谢谢.
我用的Spring框架,查了一下说可能是拦截了静态资源。
这是我web.xml的文件内容
contextConfigLocation
classpath:mybatis.xml
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
true
encoding
UTF-8
encodingFilter
/*
org.springframework.web.context.ContextLoaderListener
org.springframework.web.util.IntrospectorCleanupListener
SpringMVC
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:springmvc-servlet.xml
1
true
SpringMVC
/
default
*.css
default
*.js
default
*.jpg
default
*.html
default
*.eot
*.svg
*.ttf
*.woff
login.jsp
然后网上说改成*do也没有用。求指教。