title: writing text to an html file type
body: <p>I am trying to write the result of the following method to a webpage. I think it is possible to do, I am just having trouble figuring out exactly how to do it. Any help would be very appreciated. 
  Thanks.</p>
  
  <pre><code>...
        System.out.println("Final Register");
        for (int i=0; i &lt; ch.length; i++)
          {
           System.out.println(cd.getDenomLiteralAt(i)+" "+cd.getDenomNumAt(i));
          }
     }
  
  ...
  </code></pre>