title: Accessing object fields added to model map in jsp page
body: <p>In my <code>Spring</code> web project, I have added a class object in to the <code>model map</code>. This is the class</p>
  
  <pre><code>public class ProjectDetailsBean {
  
      private String title;
      private String type;
      private String addedBy;
      private String status;
      private String updatedOn;
      private String relavantBranch;
  
      // getters and setters are here
  
  }
  </code></pre>
  
  <p>After setting all the attributes to a <code>ProjectDetailsBean</code> object instance, I add that to the <code>model map</code> in my <code>controller</code> class. </p>
  
  <p><code>epb</code> is that instance.</p>
  
  <pre><code>model.addAttribute("projectDetails", epb);
  </code></pre>
  
  <p>Now I need to access the fields of <code>projectDetails</code> in a <code>jsp</code> page. Those values need to be assigned to separate input fields. I cannot figure out how to do that. Could you please tell me how to do that. </p>
  
  <p>Thank you!</p>