Thanks for reading the post. I am stuck up with this issue for some time and I am looking for suggestion to do it. I need to create the below Slab structure dynamically.
By default, I will have Slab 1. With Lower Income and Upper Level as text boxes which user can enter. Also user can define the Lower Income, Upper Income and Rate dynamically (There will be three text boxes where user can enter values. And 'Add rate' button will be provided, if he clicks on that 3 new textboxes will come down. Using this he can define any number of rates). There would be a add slab button to add a new slab. If he clicks on it Slab 2 would come up, with Lower and Upper income level as Textboxes. And also one row of 3 text boxes with Lower, Upper and Rate will be displayed. I need to do this in Struts. I am able to add the rows etc. But don't have an idea to associate them to form.
Is it possible to declare in the above way and get it in the Action? Thanks in Advance.