"/images/LogoIST.gif"));
"/images/Logo_IST_color.tiff"));
    public ActionForward exportToPDFParkingCard(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {        Integer parkingPartyID = getPopertyID(request, "parkingPartyID");        final ParkingParty parkingParty = rootDomainObject.readParkingPartyByOID(parkingPartyID);        Map<String, Object> parameters = new HashMap<String, Object>();        parameters.put("imageUrl", getServlet().getServletContext().getRealPath("/").concat(                "/images/LogoIST.gif"));        Person person = (Person) parkingParty.getParty();        parameters.put("number", getMostSignificantNumber(person));        List<Person> persons = new ArrayList<Person>();        persons.add(person);        byte[] data = ReportsUtils.exportToPdf("parkingManager.parkingCard", parameters, null, persons);        response.setContentType("application/pdf");        response.addHeader("Content-Disposition", "attachment; filename=cartao.pdf");        response.setContentLength(data.length);        ServletOutputStream writer = response.getOutputStream();        writer.write(data);        writer.flush();        writer.close();        response.flushBuffer();        return mapping.findForward("");    }