Spring MVC @PathVariable with dot (.) is getting truncated

后端 未结 17 1316
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 06:00

This is continuation of question Spring MVC @PathVariable getting truncated

Spring forum states that it has fixed(3.2 version) as part of ContentNegotiationManager.

17条回答
  •  无人及你
    2020-11-22 06:41

    The complete solution including email addresses in path names for spring 4.2 is

    
        
        
        
            
                json=application/json
                xml=application/xml
            
        
    
    
        
    
    

    Add this to the application-xml

提交回复
热议问题