In my application i have a view page(html or jsp) with three field (name,address,roll no).i have one add button ,if i click on add button one java-script will be called and it will display a row in the same page with three column (name,address and roll no).whenever i will click on add button ,a new row will be added.Now i want to store these dynamic row's value to database (using servlet).How can i do this?
How are the dynamic values being generated? Your param generator should produce names that the submitting servlet can deal with. One tactic could be to produce names that contain the row index. E.g. "name" "name" and so on. These are easily parsed on submission.