Order the Book

coreservlets.tags
Class FilterTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--coreservlets.tags.FilterTag

public class FilterTag
extends BodyTagSupport

A tag that replaces <, >, ", and & with their HTML character entities (<, >, ", and &). After filtering, arbitrary strings can be placed in either the page body or in HTML attributes.

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.

See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
FilterTag()
           
 
Method Summary
 int doAfterBody()
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterTag

public FilterTag()
Method Detail

doAfterBody

public int doAfterBody()
Overrides:
doAfterBody in class BodyTagSupport

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive