I could solve my problm. Actually the number of rows in database was 26 but when I counted the number of rows printed in the web page I saw that it's 78 (26*3)...it was related to my array data; when I corrected the SIZE_USERS to :
and added them to my code (TableData.java) under
It worked and there were no more exceptions.
Now, I can edit the user information in the web page but how can I add the changes to the database? ... I mean if I have a submit edit button for all rows, how can I check which rows were changed?
Please guide me!