title: How to open another JSP page in popup window in Java
body: <p>I want to open a new JSP page as a popup window. After the submit button is clicked, the user can provide data without leaving the main page. For now, it simply redirects to another page, which makes the page a bit less user friendly.</p>
  
  <p>I am using this code to redirect to the other page:</p>
  
  <pre><code>response.sendRedirect("http://localhost:8080/APP/add.jsp"); 
  </code></pre>
  
  <p>And it works correctly, but it is not satisfying for me.</p>