title: Returning view from Spring MVC @RestController
body: <p>As <code>@RestController</code> is composition of <code>@Controller</code> and <code>@ResponseBody</code>, I believe if I want my controller to work as both
  MVC and REST controller just annotating with <code>@RestController</code> should be fine. Is that correct?</p>
  
  <p>As <code>@RestController</code> is composition of <code>@Controller</code> and <code>@ResponseBody,</code> I think it internally means that it's good for</p>
  
  <ol>
  <li>Receiving the http request (because of <code>@Controller</code>)</li>
  <li>Sending the response in JSON format (because of <code>@ResponseBody</code>) though it can be changed if required</li>
  </ol>