title: Iterating over hashmap in JSP in struts application
body: <p>I have a <code>HashMap</code> object that I am getting on a JSP page.</p>
  
  <pre><code>HashMap&lt;Integer,Gift_product&gt; gift_hm = new HashMap&lt;Integer,Gift_product&gt;();
  gift_hm.put(17,new Gift_product("doll",67));
  </code></pre>
  
  <p>Now I need to iterate this and display content on JSP.
  The <code>Gift_product</code> class contains two fields: <code>name</code> and <code>price</code>. </p>
  
  <p>JSP output should be</p>
  
  <pre><code>serial no.           product name     price
  17                    Doll            67
  </code></pre>
  
  <p>How can I achieve it?</p>