title: Adding button and textbox dynamically in jsp page
body: <pre><code>&lt;form:form action="approveAccount.html" method="GET"&gt;
  &lt;input type="submit" value="approvAll"/&gt;
  &lt;p&gt;Following Accounts are Pending to approve&lt;/p&gt;    
  &lt;c:forEach items="${accountIdList}" var="val"&gt;
  &lt;li&gt;${val}&lt;/li&gt;                               
  &lt;/c:forEach&gt;        
  &lt;/form:form&gt;
  </code></pre>
  
  <p>val is the value that is fetched from database, I want to add a submit button and want to use this fetched value to do some stuffs, how many value get fetched is dynamically decided, how todo that.. here in this scenario, I am getting account id which admin needs to approv, so by adding textbox, admin can assign the role to the this account and then submit the to the database and this all happen with that clk of button</p>