I needed a solution , to implement adding dynamic HTML table rows and filling them with details , the rows should then be added to database on submit. what is the best way to implement this in jsp.The jsp page on load get the data from the database and creates rows, i can edit the row values and it should be updated,also new rows can be inserted in front end page, which should along with updated rows (retrieved from database ),be saved in jsp.