How to insert multiple rows at once in MySQL DB using Struts2?
<p>I am trying to insert multiple rows (dynamic rows-retrieved from DB) at once in MySQL DB using Struts2.<br>
For this, firstly I am retrieving data in an HTML table from a DB table (and the rows are dynamic means it depends on how many entries were their in DB for a particular user id).<br>
In my HTML table, there are six columns from which five are retrieved from DB and the last column entries, user has to fill.</p>

<p>Now I wants to insert this whole data (as many rows as retrieved from the DB with the new entries of last column) to another table of DB at once.<br>
Right now I am able to insert whole data but it is not getting stored in separate rows in DB table, it is just stored in a single row with comma separated.</p>

<p>Any help would be appreciated...Thanks in advance!!</p>