code: protected void initFilter(XmlParser.Node node) throws ClassNotFoundException,UnavailableException
      {
          String name=node.getString("filter-name",false,true);
          String className=node.getString("filter-class",false,true);
          if(className==null)
          {
              log.warn("Missing filter-class in "+node);
              return;
          }
          if(name==null)
              name=className;
          FilterHolder holder=getWebApplicationHandler().defineFilter(name,className);
          Iterator iter=node.iterator("init-param");
          while(iter.hasNext())
          {
              XmlParser.Node paramNode=(XmlParser.Node)iter.next();
              String pname=paramNode.getString("param-name",false,true);
              String pvalue=paramNode.getString("param-value",false,true);
              holder.put(pname,pvalue);
          }
      }
docs: /* ------------------------------------------------------------