Hi,
The escaping conventions as given in the JSP specification are,
<quote>
2.4 Quoting and Escape Conventions
The following quoting conventions apply to JSP pages. Anything else is not
processed.
Quoting in Scripting Elements
n A literal %> is quoted by %\>
Quoting in Template Text
n A literal <% is quoted by <\%
Quoting in Attributes
n A ' is quoted as \'
n A " is quoted as \"
n A %> is quoted as %\>
n A <% is quoted as <\%
</quote>
Hope this helps.
thiru
----- Original Message -----
From: "Rick Osborn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 18, 2000 6:27 AM
Subject: html character escaping: is it possible?


> wondered through faq's and couldn't find anything.
>
> basically what i'm needing is a way to escape the
> "%", "*", ">", and "<" chars in the jsp so the browser doesn't interpret
>
> them as part of tags.
>
> are there any libraries or anyone got any ideas?
>
>
> ______________________________________
>
> rick osborn
> 703.628.2064 (cell)
> [EMAIL PROTECTED] (alpha pages)
> [EMAIL PROTECTED] (mobile email)
>
>
===========================================================================
> 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
>

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