Thursday, June 21, 2001 09:06 AM
Ny servlet is writing a dynamic string as below:
out.println(frm + str + frmEnd);
frm and frmEnd are HTML formatted tags such as PRE and /PRE in
If str includes "
<" is interpreted as an HTML relavent thing.
How can I solve this problem.
Thanks in advance.
Re: wrong HTML format in servlet output
Sunday, June 24, 2001 10:49 AM
See What is the difference between URL encoding, URL r... for more information, and see http://www.purpletech.com/code/src/com/purpletech/util/Utils.java for a method that escapes entities for you.
Thursday, June 21, 2001 10:21 PM
< = <> = >
Thursday, June 21, 2001 08:11 PM