title: linking one jsp page to another jsp page
body: <p>This is a very simple question, but as I am a newbie...</p>
  
  <p>I have two files: login.jsp and report.jsp
  they are both within the same WebContent folder. </p>
  
  <p>I want a link on report.jsp that when clicked, will take me to login.jsp </p>
  
  <p>The jsp part of the page looks like: </p>
  
  <pre><code>Connection conn = (Connection)session.getAttribute("conn"); //retrieves the connection from the session
  
  String lot_id = request.getParameter("lotnum");
  session.setAttribute("lot_id",lot_id);
  
  out.print("Report on Lot Number: ");
  out.print(request.getParameter("lotnum")+"&lt;br&gt;");
  
  
  //&lt;a href="login.jsp"&gt;Click here to go to login page&lt;/a&gt;
  // this is supposed to be an anchor tag linking this page to login.jsp, and where I am getting my error... 
  
  Statement sql = conn.createStatement();  //create statement using the connection
  
  //... ... code for the rest of the page goes here...
  </code></pre>
  
  <p>thank you,</p>
  
  <p>much appreciated</p>