private void addInclude(Node parent,List files) throws JasperException {
  if (files != null) {
    Iterator iter=files.iterator();
    while (iter.hasNext()) {
      String file=(String)iter.next();
      AttributesImpl attrs=new AttributesImpl();
      attrs.addAttribute("","file","file","CDATA",file);
      Node includeNode=new Node.IncludeDirective(attrs,reader.mark(),parent);
      processIncludeDirective(file,includeNode);
    }
  }
}

private void addInclude ( Node parent , List files ) throws JasperException { if ( files != null ) { Iterator iter = files . iterator ( ) ; while ( iter . hasNext ( ) ) { String file = ( String ) iter . next ( ) ; AttributesImpl attrs = new AttributesImpl ( ) ; attrs . addAttribute ( "" , "file" , "file" , "CDATA" , file ) ; Node includeNode = new Node . IncludeDirective ( attrs , reader . mark ( ) , parent ) ; processIncludeDirective ( file , includeNode ) ; } } }
add a list of files . this is used for implementing include - prelude and include - coda of jsp - config element in web . xml
