How to use  multiple HTML form elements with the same name.

In the Help it is given as 

Yes. Define the element as an array and Struts will autopopulate it like any other. 

private String[] id= {};
public String[] getId() { return this.id; }
public void setItem(String id[]) {this.id = id;}


And so forth 
Can some body give an example as how to accomplish this..

Thanks Can I use multiple HTML form elements with the same name

Reply via email to