7677787980818283848586
Zip zip = new Zip(resp, mode, zipFiles); if (req.getParameter("print") != null){ ZipContentPrinter zipContentPrinter = new ZipContentPrinter(resp, zip); zipContentPrinter.printZip(); } else zip.sendZip(zipFiles); } }