title: Display tree structure on a jsp using Recursion and JSTL
body: <p>I would like to implement a tree structure in my JSP baised web-application using recursion and JSTL.The values of tree is populated from database using java(using some list or map..).I know this question  may be asked by some peoples.but i didn't get any idea from those resources.Please help me..</p>
  
  <p>Here is my Table Structure for company table.</p>
  
  <pre><code>      Column                Type
  
        Company_id            int
  
        Company_parent_id     int 
  
        Company_name         varchar(50)
  </code></pre>
  
  <p>Class Company</p>
  
  <pre><code>     public Class Company{
              private int companyId;
              private int companyParantId;
              private String companyName;
  
       //getters&amp;setters
       }
  </code></pre>
  
  <p>Sample tree structure that i watnt to implement.</p>
  
  <pre><code>    1
        1.1
        1.2
            1.2.1
                  1.2.1.1
  
     2
        2.1
     3
        3.1
            3.1.1
        .....
     n 
        n.1
       ....
  </code></pre>
  
  <p>My question is How can i implement Recursion in jsp with the help of JSTL?.</p>
  
  <p>Thanks,</p>