title: printstream fails to prints as what I wish
body: <p>I open a server socket at localhost's port e.g 11111, and I also include printstream for stream data which i would want to output as neat as expected like this</p>
  
  <pre><code>PrintStream ps=new PrintStream(socket.getOutputStream(),false);
  ps.println("&lt;h1&gt;Hello, it works!&lt;/h1&gt;");
  </code></pre>
  
  <p>I am looking forward to seeing the output as <strong>Hello, it works!</strong>
  but it becomes like this <code>&lt;h1&gt;Hello, it works!&lt;/h1&gt;</code></p>
  
  <p><strong>Update</strong>
  I am not working with serlet or jsp, this simply is a webserver I would like to display a welcome message once the user visit the <code>http://localhost:111111</code></p>
  
  <p>Thank you </p>