title: Respond to html, json and xml with Spring MVC content negotiation
body: <p>All examples that I have found around internet were about to use content negotiation with json, xml etc. Is there any chance to have only one method producing all kind of contents, like:</p>
  
  <pre><code>@RequestMapping(produces={"text/html","application/json"})
  public List&lt;Product&gt; list() {
      return productDAO.list();
  }
  </code></pre>
  
  <p>I tried to use the <code>ContentNegotiationManager</code>, but nothing worked for me. </p>