title: How can I pass query string from one jsp page to another jsp page without showing the name-value pair at address bar?
body: <p>I want to send a query string from one jsp page to jsp page but I want to hide the name-value pairs(attributes) at address bar when I send the query string.</p>
  
  <p><strong>First.jsp</strong></p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
          &lt;title&gt;First Page&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;a href="Second.jsp?username=aditya123&amp;password=abc12345"&gt;Click Here&lt;/a&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>Second.jsp</strong></p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
          &lt;title&gt;Second Page&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;%
              String username = request.getParameter("username");
              String password = request.getParameter("password");
          %&gt;
          Username : &lt;%=username %&gt;&lt;br/&gt;
          Password : &lt;%=password %&gt;&lt;br/&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here, I pass a query string <strong><code>"Second.jsp?username=aditya123&amp;password=abc12345"</code></strong> from <code>First.jsp</code> page to <code>Second.jsp</code> page but I want to send this without showing <strong>username</strong> and <strong>password</strong> attribute and their value at address bar.How can it possible?</p>