com.mortbay.HTTP.Filter
Class HtmlFilter

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--java.io.FilterOutputStream
              |
              +--com.mortbay.HTTP.HttpFilter
                    |
                    +--com.mortbay.HTTP.Filter.HtmlFilter
Direct Known Subclasses:
HtmlExpireFilter

public class HtmlFilter
extends HttpFilter

Filter Html for java method tags This HttpFilter is used to expand dynamic content within a HTML template file. The HTML template file should contain java method tags where dynamic content is to be included. A java method tag is a HTML comment of the form:
<!=:packageName.className.methodName(arg1,arg2,...)>
The MethodTag class is used to create a method call to the static method described. Arguments that can be passed include:

  • Strings
  • Double instances
  • out - An OutputStream to which output can be directed.
  • data - which is a Hashtable associated with the current request.
  • request - which is the HttpRequest.
  • context - which is the ServerContext.
  • null - null value.
  • Any HTTPRequest parameter