Mysql data to build a HTML form
I am new to java (not in a class).
I was trying to use a mysql table to hold all the names of the input fields I want in my HTML form. I was then going to have the servlet create the HTML with a loop that would build the form and then the same thing to handle it the submitted data.
I would like to be able to add fields quickly and have the application dynamically handle it (end user manage exact content). Is this the right approach? Are there any good examples of this? Are servlets the right choice for this?