I have a MySQL database and I am trying to search it and display the results in a table with the same columns as the db in HTML on a web page. I am using JAVA for the servlet and I have the web page send the search string using JavaScript to the servlet. I know how to:
- Connect to the database
- Query db and retrieve appropriate data in a resultset
I am having trouble going from the resultset and sending it back to and displaying it on the web page in a table.