Spring MVC mvc:resources location attribute

前端 未结 4 1486
鱼传尺愫
鱼传尺愫 2020-12-10 21:08

Guys I have also problem with loading static resources.

I think I have everything properly set up. But I don\'t understand location attribute of

4条回答
  •  隐瞒了意图╮
    2020-12-10 21:33

    Maybe you have configured some handlermapping that kicks in before the resourcehttprequestresolver (or whatever it's called) Check that you don't have an AbstractUrlHandlerMapping or any other handlermapping that stops the mapping chain with an order property. Or configure the resource resolver with an order:

    
    
        
            
            
        
        
    
    

提交回复
热议问题