Struts 1:将jsp的值放入使用java List的表单中

Mar*_*ayi 5 forms jsp struts struts-1

在我的jsp中,我有一些像这样的字段:

<html:text property="field[0]" value="${fieldValue}" indexed="true">
<html:text property="field[1]" value="${fieldValue}" indexed="true">
<html:text property="field[2]" value="${fieldValue}" indexed="true">
<html:text property="field[3]" value="${fieldValue}" indexed="true">
Run Code Online (Sandbox Code Playgroud)

在我的表单中,我有一个java.util.list,我需要从顶部的字段填充:

private List<Double> field = new ArrayList<Double>();

public final List<Double> getField() {
    return field;
}
public final void setField(final List<Double> valeur) {
    this.field = valeur;
}
Run Code Online (Sandbox Code Playgroud)

问题是列表未填充.有任何想法吗 ???谢谢 !!