title: Return "View" inside "Json" with Spring MVC
body: <p>I'm using Spring MVC, and I need return in the Controller, a Json object that contains the view, by example, the related jsp page. </p>
  
  <p>return: { name: "fragment-form", other-info:"other-info", view: view}</p>
  
  <p>where "view" should be the JSP page linked to your ModelAndView</p>
  
  <p>I read other post, but I not find the solution, because I need that controller to the work, if it's posible.</p>
  
  <p>Sugestions?</p>
  
  <p>EDIT:</p>
  
  <p>I have a form with your values, and the submit, from javascript execute this follow code: 
  <pre><code>@RequestMapping(method = RequestMethod.POST)
  public Object create(@Valid @RequestBody PatientForm form, HttpServletResponse response) {
    ModelMap map = new ModelMap();
    map.put("form", form);</p>
  
  <p>return new ModelAndView("addPatientForm", map);
  }</pre></code></p>
  
  <p>I need return a Json where the "ModelAndView("addPatientForm", map)" processed within the json that is returned.</p>