title: HttpServletResponse sendRedirect permanent
body: <p>This will redirect a request with a <em>temporary</em> 302 HTTP status code:</p>
  
  <pre><code>HttpServletResponse response;
  response.sendRedirect("http://somewhere");
  </code></pre>
  
  <p>But is it possible to redirect it with a <em>permanent</em> 301 HTTP status code?</p>