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())); }
private static void tagCache(PageContext pc) { ConfigWebImpl config = (ConfigWebImpl) pc.getConfig(); PagePoolClear.clear(config.getServerTagMapping()); PagePoolClear.clear(config.getTagMapping()); }