Hello
I'm creating an application which enables a user to view client data stored in a mysql database.
A
servlet takes in username/login and if correct user is taken to
jsp that displays the first record - user can then select next, user will then be taken to another jsp displaying next record, and on this jsp user can then view next or previous records.
But user should also be able to update the client data shown to user.
So I was going to add an update button to jsp's and when user updated any field on jsp displayed to user - he/she would then hit update button which would trigger updates in database using relevant sql, but how would I redisplay the same jsp with updated fields.
Currently if user hits any submit button he/she is taken to another field which displays the next record as follows:
<FORM method="POST" action="/ProcessClientsThen.jsp">
so basically what i'm asking is how would I get the jsp to refresh showing updated database informattion if user hits the Update submit button.
thanks Joe.