I made this code which simply fetches the data and each row has a Edit link Besides it...
When i click on Edit, the record appears perfectly, but when i make changes and click on save, it refreshes and shows null values in every Text Box. However, It makes changes to the Table.
value of s remains same. When on Display List page, i click on edit and it attaches a parameter "value" which becomes the value of s. Then later on it stays in the servlet as hidden field and keeps passing no matter how many times i refresh it.