Chris Wilson wrote:

> hello all,
>
> i have a quick question regarding html special entities.  i've done some
> development in php and they have a function called htmlentities() that will
> take a string and convert any appropriate characters to their html entities
> (i.e. '<' converted to '&lt;').  is there any similar functionality in
> JDK1.2 or the servlet/jsp development kit?
>
> thanks in advance for the help.
>
> cheers,
> chris

>From the Java Apache groups ECS page:
> You don't need to replace & ' " with their entity counterparts, it is done for
> you (this is configurable of course). ECS gives you the ability to define
> filters that are applied to the element when you call the addElement()
> methods.

Go to http://java.apache.org

Click on ECS (Element Construction Set) - a new version was just released
today.

Mike

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to