public ActionForward retrieveLearningAgreement(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) throws Exception {
MobilityIndividualApplicationProcess process = (MobilityIndividualApplicationProcess) getProcess(request);
final LearningAgreementDocument document = new LearningAgreementDocument(process);
byte[] data = ReportsUtils.exportMultipleToPdfAsByteArray(document);
response.setContentLength(data.length);
response.setContentType("application/pdf");
response.addHeader("Content-Disposition", "attachment; filename=" + document.getReportFileName() + ".pdf");
final ServletOutputStream writer = response.getOutputStream();
writer.write(data);
writer.flush();
writer.close();