// associate the summary file to the candidacy
associateSummaryFile(pdfByteArray, person.getStudent().getNumber().toString(), candidacy);
// redirect user to the candidacy summary page
response.reset();
response.sendRedirect(buildRedirectURL(request, candidacy));
response.flushBuffer();
} catch (ParserConfigurationException e) {
logger.error(e.getMessage(), e);
} catch (SAXException e) {