You could try enclosing the string in <pre> </pre> tags before printing it.

ax


>
> 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)

===========================================================================
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

Reply via email to