public ActionForward downloadJuryReportSheet(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
HttpServletResponse response) throws Exception {
final Thesis thesis = getDomainObject(request, "thesisOid");
try {
ThesisJuryReportDocument document = new ThesisJuryReportDocument(thesis);
byte[] data = ReportsUtils.exportToProcessedPdfAsByteArray(document);
response.setContentLength(data.length);
response.setContentType("application/pdf");
response.addHeader("Content-Disposition", String.format("attachment; filename=%s.pdf", document.getReportFileName()));
response.getOutputStream().write(data);
return null;
} catch (final Exception e) {