private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
private void processTldsInFileSystem(String startPath) throws JasperException { Set dirList = ctxt.getResourcePaths(startPath); if (dirList != null) { Iterator it = dirList.iterator(); while (it.hasNext()) { String path = (String) it.next(); if (path.endsWith("/")) { processTldsInFileSystem(path); } if (!path.endsWith(".tld")) { continue; } if (path.startsWith("/WEB-INF/tags/") && !path.endsWith("implicit.tld")) { throw new JasperException( Localizer.getMessage( "jsp.error.tldinit.tldInWebInfTags", path)); } InputStream stream = ctxt.getResourceAsStream(path); TldInfo tldInfo = scanTld(path, null, stream); // Add listeners or to map tldlocations for this TLD if (scanListeners) { addListener(tldInfo, true); } mapTldLocation(path, tldInfo, true); } } }
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);
addListener(tldInfo, isLocal); mapTldLocation(resourcePath, tldInfo, isLocal);