title: Where does getRequestDispatcher("path") look?
body: <p>Using embedded tomcat, this code:</p>
  
  <pre><code>System.out.println("getServletPath: " + request.getServletPath());
  System.out.println("getServletContext: " + request.getServletContext().getContextPath());
  System.out.println("getServerName: " + request.getServerName());
  System.out.println("getServerPort: " + request.getServerPort());
  </code></pre>
  
  <p>Prints out:</p>
  
  <pre><code>getServletPath: /example
  getServletContext: 
  getServerName: localhost
  getServerPort: 9090
  </code></pre>
  
  <p>Does that mean that:</p>
  
  <pre><code>request.getRequestDispatcher("/example/read.jsp").forward(request, response);
  </code></pre>
  
  <p>Will look at this URL to <code>forward(request, response)</code> to the JSP:</p>
  
  <p><code>http://localhost:9090/example/read.jsp</code>?</p>
  
  <p>Is there a way to print out what <strong>absolute</strong> URL <code>getRequestDispatcher("relativePath")</code> is addressing?</p>