SpringMVC and static resources

后端 未结 5 1361
野的像风
野的像风 2020-12-31 14:55

Im new in java and spring. I\'m trying to make hello world app and don\'t get what i\'m doing wrong.

here is my directory structure:

test_app
-pom.xm         


        
5条回答
  •  灰色年华
    2020-12-31 15:56

    As of Spring 3.0 and higher you need to add following to your Spring configuration:

    
    

    This tells your dispatcher servlet how to resolve static resources. I hope this helps.

提交回复
热议问题