JSP: how to display a String that has HTML
807606Apr 16 2007 — edited Apr 16 2007I'm reading contents of a file and want to display them on the JSP page. However, the contents may have HTML tags in them as well. Right now it just displays the String HTML tags, not actually rendering them. How do I display the String so the HTML tags are actually used?
So if the String has "<b>Hello</b>"
I want it to show up in the webpage with the word Hello bolded, not the actual <b> and </b> tags displayed.