C
christriddle
Hello!
I should probably know this but I have some HTML in a variable (loaded
from a database), and want to output it to a JSP file (you know what I
mean). I'm using the following code:
<% String ImageHTML = "<a blah blah blah>Link</a>";
....
<%=ImageHTML%>
But when I load it up it literally prints the HTML and in the source
it looks like:
<a blah blah blah> ....
How do I output it so it acts like HTML rather than a string of text?
I googled but something like this is difficult to find since I don't
quite know specific keywords that aren't too general.
Ta...
I should probably know this but I have some HTML in a variable (loaded
from a database), and want to output it to a JSP file (you know what I
mean). I'm using the following code:
<% String ImageHTML = "<a blah blah blah>Link</a>";
....
<%=ImageHTML%>
But when I load it up it literally prints the HTML and in the source
it looks like:
<a blah blah blah> ....
How do I output it so it acts like HTML rather than a string of text?
I googled but something like this is difficult to find since I don't
quite know specific keywords that aren't too general.
Ta...