title: Servlet redirect error/ jsp cannot load css
body: <p>I'm having some issues to redirect to an HTML page via servlet.</p>
  
  <p>I have an index.jsp and index.htm page in the same directory.</p>
  
  <p>When i use the following code my servlet redirects to the jsp page fine, but if i change it to index.htm i cannot redirect and get this error on the browser (mozilla) </p>
  
  <p><em>"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."</em></p>
  
  <pre><code>response.setHeader("Location", "/portal/index.jsp");
  response.setStatus(HttpServletResponse.SC_FOUND);
  </code></pre>
  
  <p>The reason I want to redirect to the htm page instead of jsp page is because when i redirect to the jsp page, none of my css gets loaded..which is a whole other problem itself.</p>
  
  <p>I have been spending some days now trying to find a solution but I am not getting anywhere. If anyone has any advice to either of the issues i will be so greatful. Thank You.</p>