So, i have created two JSP files, In first Jsp (show.jsp) file i am showing or displaying the records from database (MySQL). In each row i create a button with the help of Bootstrap 4 which is used to edit that row. On click on that button a modal (Bootstrap component) will open and a form i have created in the modal to edit input fields. So that if i submit the form by editing some input fields that it goes to another JSP (edit.jsp) file, in this jsp file i have only java code and SQL query for updating records after this it goes redirect to the first JSP (show.jsp) file and show records again with updation. All things working properly.
So my problem is that if i update any of row then i dont get any msg of update like : your data is updated successfully !
I also add some code for showing msg if i update any row but didnot worked. i just add alert function in second jsp file (edit.jsp) to show message but it doesnot working and it redirect to first jsp file without showing alert msg.
so please provide me that code for showing msg when i update any row.
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!