Ok... I will try to explain.
I hope you will understand what I'm trying to do
I have a form which has dynamic adding of textfields. I fill let say a book(title,author,year,edition) and if I want to add another book I click on a button creates me new text fields for entering the new book.(I have a table below the button which displays me the books with the textfiels inside).
Each time I create a new book to enter values I have put name and id of the textfield to be created dynamically.
Now when I'm submitting my form if it was one book I could use the following to save the values:
<
jsp:useBean id="book" class="beans.book" scope="request"/>
<jsp:setProperty name="book" property="*"/>
Now I can add as many books I want how can I use the same bean to save them all seperate or I can't. What can I do?