I am debugging my test program.
When my test page http://localhost:8080/Struts2Example/updatePerson
appeared in the browser, it displayed
A
B
C
in its own textfield and a Submit button, which is expected.
However, after I edited the textfields and pressed the Submit button.
The following appeared
On 3/12/2018 6:03 AM, albert kao wrote:
>name="persons[%{#stat.count}].name"/>
I guess using #stat.index (instead of #stat.count) solves this issue.
Count will be 1,2 and 3 but Index will be 0,1 and 2 which is same as
that index that java uses.
Regards.
2 matches
Mail list logo