title: Dynamic fields on jsp from database using Struts2 ,Hibernate
body: <p>Using Struts2:</p>
  
  <p>I have a table in my database with fields(2 text boxes and 2 dropdown). And my jsp renders them correctly with respective values. Now What I want is whenever I add any field manually in my database how dynamically I can render it on my jsp using Struts2. Do I need to use ajax???? or How should I proceed.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Updated :
  I have a table in my database with 2 columns, Name of Label (Name, Age etc) and Type of Input Element (textbox, dropdown etc)
  Now I want whenever I add any field manually or through some form to database, I need to render it dynamically on my JSP using Struts 2.
  The corressponding Input element should be shown on the jsp.</p>