spring-mvc-content-negotiation-json-xml
Spring MVC Content Negotiation 1. Overview This article describes how to implement content negotiation in a Spring MVC project. Generally, there are three options to determine the media type of a request: Using URL suffixes (extensions) in the request (eg .xml/.json) Using URL parameter in the request (eg ?format=json) Using… Continue Reading spring-mvc-content-negotiation-json-xml