Pankaj sir

Greenhorn
+ Follow
since Jun 23, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pankaj sir

Hello guys.....

please help me out....

I m working on a simple college project of mine.

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.
1 week ago
JSP