Hi,
 
Anybody knows how to display a bean property with html
markup properly in the output. I have the JSP snippet
code as follows:
 
<HTML>

abcdefg <bean:write name="info" property="infoName" />

</HTML>

The infoName is a string I got directly from database as follows:

String infoName = "<br> <p><font face=\"Arial,
Helvetica, sans-serif\"
size=\"2\"><b>aaaaaaaa</b></font></p> <p>";

After I ran the jsp, I got the following result:

abcdefg <br> <p><font face="Arial, Helvetica,
sans-serif" size="2"><b>aaaaaa</b></font></p> <p>

It displayed the html markup as text in screen. The
font and size of 'aaaaaa' was not changed. How to
change the code, so I could get the font and size of
'aaaaaa'  changed on the output screen to the way I defined in the
infoName?

Thanks a lot,

Shirley


---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.

Reply via email to