here is what i want to do: I have an actionForm with an indexed property(a list of districts), I have managed to show and bind all items to form the list districts.
I want to have a jsp page that allow user to add and delete item in that list. The problem is that struts use for example districts[0], districts[1] to bind each item in the list, when i want new item to be added or deleted, does this mean i need to append new 'input' tag with name='districts[last_index]' at the end of the list using javascript for addition and remove input tags for the corresponding index for deletion? is there alternative for this?