title: HtmlUnit to view source
body: <p>HtmlUnit for Java is great but I haven't been able to figure out how to view the full source or return the source of a web site as a string. can anyone help me with this?</p>
  
  <p>I know the follow will read the site but now I just want to return the source to a string.</p>
  
  <pre><code>HtmlPage mySite = webClient.getPage("http://mysite.com");
  </code></pre>
  
  <p>Thanks!</p>