// ....
OutputStream out = response.getOutputStream();
ZipOutputStream zos = new ZipOutputStream(out); // tadam!
// .... may be in while ....
ZipEntry zint = new ZipEntry("myfile.doc");
zos.putNextEntry(zint);
zos.write(mybuffer);
zos.closeEntry();
//....
zos.flush();
zos.close();
Multi-monitor with hybrid graphics
On a hybrid graphics device (a laptop with both an Intel and an Nvidia GPU), you will need to remove the optimus-manager package if installed (disabling the service does not work). You also need to change your BIOS settings from hybrid graphics to discrete graphics.
Вот в таком сценарии я не понимаю, что к чему.