title: How to iterate over Hashtable in JSP
body: <p>I m doing a stuf in JAVA, as it is working fine.. now i need it to display in a browser using JSP, the following is my code.. </p>
  
  <pre><code>Hashtable&lt;String, Hashtable&lt;String, Integer&gt;&gt; hash =
              categoryCountManager.getFunctionWithSubFunctionCount(1L);
  
          setCategoryDetails(categoryCountManager.getFunctionWithSubFunctionCount(1L));
  
          //count.setFunction()
          System.out.println("Hash Size==&gt;"+hash.size());  
  
  
          Set&lt;String&gt; functions = hash.keySet();
  
          for(String fun : functions){
              System.out.println("***************************");                      
              System.out.println(fun);
              System.out.println("***************************");
              Hashtable&lt;String, Integer&gt; obj = hash.get(fun);
  
  
              Vector&lt;String&gt; v = new Vector&lt;String&gt;(obj.keySet());
              Collections.sort(v);
  
              for(String str : v){                            
                  System.out.println("#"+str+"-"+obj.get(str));
                  }
  
  
  
              }
  </code></pre>
  
  <p>Any suggestions highly appreciated..</p>
  
  <p>Thanks in advance.</p>