Look at the struts docs regarding the index tag.

Sashi Ravipati wrote:

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




-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA

Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North 
East.
Open Source <a href ="baseBeans.com">Content Management</a>  basicPortal sofware
Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to