title: JSP output string with HTML?
body: <p>I would like to output a string in a JSP page. The string contains
  HTML tag.
  How do I display the HTML version of the string in JSP?</p>
  
  <p>e.g.</p>
  
  <pre><code>            `String str = "&lt;b&gt;&lt;u&gt;bold and underlined&lt;/u&gt;&lt;/b&gt;"`;
  </code></pre>
  
  <p>In JSP, I use <code>&lt;%=str%&gt;</code></p>
  
  <p>Instead of displaying the HTML version of the string (with bold and
  underlining of the text), the above string is displayed. Can you help?</p>
  
  <p>I also tried </p>
  
  <pre><code>                   &lt;% out.print(str); %&gt;
  </code></pre>
  
  <p>But didnt worked for me.</p>