Hello all,

how do i handle string that contains html specific tag, like this:

if a<b then do something, let's go to second line <br> this is second line.

when it's displayed on browser, it displayed errorenously as
if a this is second line

i could substitue every "<" with "&lt;" and ">" with "&gt;" but if i do that,
"<br>" will be substituted too, so when it's displayed on the browser,
it will displayed as

if a<b then do something, let's go to second line <br> this is second line.

instead of (my expected result)
if a<b then do something, let's go to second line
this is second line.

any help is much appreciated.




--
Best regards,
 dion                          mailto:[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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