title: Accessing SpringMVC model key value inside java code
body: <pre><code>@RequestMapping(value = "",method = RequestMethod.GET)
  public String printWelcome(ModelMap model) {
      model.addAttribute("message", doctorDetails);
      return "doctorchannelling/index";
  }
  </code></pre>
  
  <p>I have added this controller in my SpringMVC project now I need to access the element doctorDetails in a java code which is inside a jsp</p>
  
  <p>how can I call this <code>doctorDetails</code> inside <code>&lt;% %&gt;</code> Mark</p>