ZipEntry entry = (ZipEntry) totalZipEntries.nextElement();
if (entry.getName().endsWith(".jar")) {
jarFile = new File(getJRTempDirName(servletContext, prefixDirTemplate)+ entry.getName());
// set classloader with jar
ClassLoader previous = Thread.currentThread().getContextClassLoader();
DynamicClassLoader dcl = new DynamicClassLoader(jarFile, previous);
Thread.currentThread().setContextClassLoader(dcl);
}
else if (entry.getName().endsWith(".jrxml")) {
// set InputStream with jrxml
File jrxmlFile = new File(getJRTempDirName(servletContext, prefixDirTemplate)+ entry.getName());