示例#1
0
  public static InitFile createInitFile(PageContext pageContext, boolean isweb, String filename) {
    ConfigWebImpl config = (ConfigWebImpl) pageContext.getConfig();
    Mapping mapping = isweb ? config.getTagMapping() : config.getServerTagMapping();

    return new InitFile(
        mapping.getPageSource(filename),
        filename,
        filename.endsWith('.' + config.getCFCExtension()));
  }
示例#2
0
 private static void tagCache(PageContext pc) {
   ConfigWebImpl config = (ConfigWebImpl) pc.getConfig();
   PagePoolClear.clear(config.getServerTagMapping());
   PagePoolClear.clear(config.getTagMapping());
 }