Here i am expecting that You have created text boxes as much as You need on page with the help of
java script (if not then tell us, i will tell you ).
now put name Your
test boxes say You have 3 text boxes
textBox1
textBox2
textBox3
put another hidden text box (say "allTextName") in which You will store comma separated
string of name of all text boxes for example "allTextName" value will be "textBox1,textBox2,textBox3"
and while adding or deleting text boxes, update "allTextName".
Now in Your action class, simply get
request.getParameter("allTextName") and tokanize it through ",". at this point You have all the names of textboxes just put in request.getParameter() and fetch the values
Hope it will work