logger.debug("The template is a .ZIP file");
File fileZip = new File(getJRTempDir(servletContext, prefixDirTemplate), JS_FILE_ZIP + JS_EXT_ZIP);
FileOutputStream foZip = new FileOutputStream(fileZip);
foZip.write(templateContent);
foZip.close();
util.unzip(fileZip, getJRTempDir(servletContext, prefixDirTemplate));
JarFile zipFile = new JarFile(fileZip);
Enumeration totalZipEntries = zipFile.entries();
File jarFile = null;
while (totalZipEntries.hasMoreElements()) {
ZipEntry entry = (ZipEntry) totalZipEntries.nextElement();