title: JSP redirect/forward
body: <p>I have this page:</p>
  
  <p><a href="http://example.com/folder/page.jsp" rel="nofollow">http://example.com/folder/page.jsp</a></p>
  
  <p>I would like to redirect/forward, in case of error/exception to the page <a href="http://example.com/page.jsp" rel="nofollow">http://example.com/page.jsp</a>
  (as you can see the path is different).</p>
  
  <p>doing <code>&lt;jsp:forward page="/page.jsp"&gt;</code> does work but all css and img ref now searches for <a href="http://example.com/folder/css" rel="nofollow">http://example.com/folder/css</a> , <a href="http://example.com/folder/img" rel="nofollow">http://example.com/folder/img</a> , without keeping the example.com/page.jsp layout.</p>
  
  <p>How can I fix this?</p>