Problem is fixed.
Thanks!
On Mon, Mar 12, 2018 at 1:36 AM, Yasser Zamani
wrote:
>
>
> 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
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.
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
3 matches
Mail list logo