This is my first question on this community.
So, I've created two jsp pages which do the following functionalities using Spring MVC: 1.) Shows the data which is fetched from MVC-Controller and the data is coming from table in SQL database. 2.) Inserts rows into the table in the database.
Both functionalities are working fine.
Now I want to show both functionalities on the same web page and when I insert the row in the database, it should display the updated table at the same time.
Please tell me how can I insert and display data on the same web page dynamically without refreshing using AJAX.
(PS: I tried using AngularJS but couldn't find a way out.)
Thank You