title: Modal pop up after submitting form on the same page
body: <p>I am a total novice and i don't know how to make this.</p>
  
  <p><em>What I want:</em></p>
  
  <p>When I click submit on my page's form, it will go to the servlet and load the data in the database. Then as a confirmation of load, it show a success modal.
  I want to achieve something in which the servlet does not redirect. That is, it stays on the same page and show a "Data lodaded successfully" modal that pops up.</p>
  
  <p>I am using <code>response.sendRedirect</code> to redirect to another page in my servlet
  but I don't want to redirect, I want to stay in the same page with a pop up appearing in the form page.</p>