SSM静态资源css、js等无法加载问题的解决

详尽:https://blog.csdn.net/weixin_42367340/article/details/80620968

在springmvc.xml中加入

      
    <mvc:default-servlet-handler/>  
    <mvc:resources location="/WEB-INF/js/" mapping="/js/**" />  
    <mvc:resources location="/WEB-INF/css/" mapping="/css/**" />  
    <mvc:resources location="/WEB-INF/images/" mapping="/images/**" /> 

你可能感兴趣的:(MVC框架)