code: protected void initMimeConfig(XmlParser.Node node)
      {
          String extension=node.getString("extension",false,true);
          if(extension!=null&&extension.startsWith("."))
              extension=extension.substring(1);
          String mimeType=node.getString("mime-type",false,true);
          getWebApplicationContext().setMimeMapping(extension,mimeType);
      }
docs: /* ------------------------------------------------------------