final String homeDir = request.getSession().getServletContext().getRealPath("");
final File zipFile = new File(homeDir, "download" + File.separatorChar + "test.zip");
final File pagesDirectory = new File(homeDir, "css");
log.info("Making zip file from folder /css to " + zipFile);
ZipUtil.makeDirectoryToZip(pagesDirectory, zipFile, "", 9);
log.info("Zip file " + zipFile + " has been made.");
response.sendRedirect("/download/test.zip");
return null;