Trying to create REST-ful URLs with multiple dots in the “filename” part - Spring 3.0 MVC

后端 未结 7 1587
旧巷少年郎
旧巷少年郎 2020-12-03 02:11

I\'m using Spring MVC (3.0) with annotation-driven controllers. I would like to create REST-ful URLs for resources and be able to not require (but still opt

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 02:29

    To add to skaffman's answer, if you're using and you want to override the useDefaultSuffixPattern value, you can replace the tag with the following:

    
    
        
        
    
    
    
    
    

提交回复
热议问题