I have a JSP page that accepts SQL queries, executes them, and then returns the results in a table. Some of the results sometimes have HTML tags in them, i.e. the result is returned:
This is the returned result! I have <br> and <hr> tags!
When it is transmitted through the code to process the return and puts it into the table, he actually "displays" tag <br>and <hr>as HTML, but I want him to just display the actual <br>and <hr>.
Returns are currently being printed using <% = colvalue%>
How can i do this?
source
share