Filtering Text for HTML display

Discussions

Web tier: servlets, JSP, Web frameworks: Filtering Text for HTML display

  1. Filtering Text for HTML display (2 messages)

    I want to know is there any API which can filter the text for HTML.. converting < > signs to thier html encodings .. exactly as filter on text written using bean:write tag

    Adnan Memon
  2. Filtering Text for HTML display[ Go to top ]

    replace them by yourself.
    U can do that,aren't U?
  3. Filtering Text for HTML display[ Go to top ]

    Take a look at jakarta commons lang.

    http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringEscapeUtils.html