is it true that I have to use different controllers for different mime types. E.g. I want to implement a REST Service to get XML or JSON deliveries I have to implement a own controller and could not use the controller where I have implemented for providing a record on the web?
Or is there a way to use one controller for alle requests, getting XML, JSON and HTML?