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:
The useBean and setProperty tags are somewhat outdated.
These days, the accepted best practice is to write your application using the Model, View, Controller pattern (MVC) and then use EL and JSTL in your JSPs to do what ever scripting is necessary to build the HTML output.
...Model, View, Controller pattern (MVC) and then use EL and JSTL in your JSPs to do what ever scripting is necessary to build the HTML output...
Sorry if I'm a little insistent but because I don't have time to learn new things and to change my whole application is it possible to explain me or provide me a reference how to make a list or an array of beans