| Author |
HTML Chars escape
|
Kudret Serin
Ranch Hand
Joined: Aug 02, 2005
Posts: 165
|
|
Hi, I have a string which has HTML tags (like <br> <p> etc) in it. When i write it with out.print() to output, i see bold text. But i want to see the <b> tag itself. How can i escape? Thanks in advance.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56204
|
|
Use the JSTL <c ut> tag yo emit any strings that need to be HTML-escaped.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: HTML Chars escape
|
|
|