This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear Friends, I need to submit multiple records to action class from jsp in one trip. In my jsp I have 4 textfield and 1 button. Button had this text "Add new record". Pressing button will add another set of textfields and button . User can enter n records till he presses submit button. Once he presses submit all the records entered by user will go to action class. I have a bean with 4 fields ( one for each textfield) . Could anybody give some tips how to solve this problem. Thanks in adv. Sonu
You may use the same name or indexed property to handle *multiple* fields that are of the same type. And thus, you dont need to care about how many textfields have been submitted. You can take the multiple checkbox as an example. Nick