title: Passing request parameter with href without they visible in request (Making href Post instead of Get)
body: <p>I have a html table in my JSP where one column is a anchor element.On click of this anchor tag I need to call a Servlet.In this request I append the file name to the as a request parameter along with the servlet call.
  like </p>
  
  <pre><code>&lt;table&gt;
  &lt;tr&gt;&lt;td&gt;
  &lt;a href="/FileDownLoadServlet.dwnld?fileName=Test1.pdf&amp;key=123456" target="_blank"&gt;Test1Container&lt;/a&gt;
  &lt;td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;
  &lt;a href="/FileDownLoadServlet.dwnld?fileName=Test2.pdf&amp;key=789123" target="_blank"&gt;Test2Container&lt;/a&gt;
  &lt;td&gt;&lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The servlet in writes the file to response so the respective pdf gets opened in new tab.</p>
  
  <p>The issue is the new tab that is opened in its address bar the entire URL is getting showed up.May be because of GET request if href.
  I want to avoid this and show the original URL without the name of servlet and its request parameters.May be if possible showing only file name in the address bar after the context name will do.
  Please suggest.</p>