select tag and options tag. How do I use the same info, but different variables?

Ted Husted

HTML does allow parameters with duplicate name, and Struts will captures those like any other property if an array is used.

private String[] spec = {"",""};
public String[] getSpec() {
    return this.spec;
public void setSpec(String spec[]) {
    this.spec = spec;

HTH -Ted

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact