title: Returning an HTML/XHTML file from servlet
body: <p>I've seen servlets examples, they're something like this:</p>
  
  <pre><code> public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          PrintWriter out = response.getWriter();
          out.println("&lt;!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"&gt;");
          ...
      }
  </code></pre>
  
  <p>My question is, instead of the code, can I return an HTML page? I mean, something like this:</p>
  
  <pre><code> public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              PrintWriter out = response.getWriter();
  
              SHOW(FILE.HTML);
  
          }
  </code></pre>
  
  <p>Thanks!!! ;)</p>