Re: Extra row appear in my jsp page after the Submit button is pressed

2018-03-12 Thread albert kao
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

Re: Extra row appear in my jsp page after the Submit button is pressed

2018-03-11 Thread Yasser Zamani
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.

Extra row appear in my jsp page after the Submit button is pressed

2018-03-11 Thread albert kao
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