Or you can replace the < with "<" and the > with ">" (without quotes).
These are the codes so html will display the < and > characters instead of
trying to interpret what is contained within.
You can use PerlTools from ORO to do these types of search and replace easily.
http://www.oroinc.com
matt
> Date: Thu, 8 Jun 2000 17:55:52 -0700
> From: David Edmister <[EMAIL PROTECTED]>
> Subject: urgent newbie question: literal characters to not display as HTML in
output
> To: [EMAIL PROTECTED]
>
> i know there is a simple answer to this but i'm not sure how to do this in
> JSP...i want to suppress html and display the literal characters if the user
> inputs tag references in my input box...because when i display it, it'll
> come out as HTML diplayed (e.g., <hr> will show the HTML line on the display
> output)....what's the JSP tag syntax to show the literal tag or text
> statement (e.g., i want to display <hr> if the user enters it)
>
> thanks in advance.....
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
====================================
Matt Houser
Senior Java Developer
World Wide Software Development
Sun Microsystems, Inc.
------------------------------------
500 Eldorado Boulevard, UBRM02-264
Broomfield, CO 80021
[EMAIL PROTECTED]
(303) 272-9747
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets