response.setHeader("Content-Disposition", "attachment;filename=\"" + fileName + "\"");
try {
ServletOutputStream out = response.getOutputStream();
ExportDocket ern = new ExportDocket();
ern.startExport(docket, out, xsltfile.getAbsolutePath());
out.flush();
} catch (IOException e) {
logger.error("IOException while exporting run note", e);
}