Subversion Repositories SmartDukaan

Rev

Rev 7151 | Rev 7178 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7151 Rev 7176
Line 68... Line 68...
68
                log.error("The invoice was not found for rechargeId : " + rechargeId);
68
                log.error("The invoice was not found for rechargeId : " + rechargeId);
69
            }
69
            }
70
        } catch (Exception e) {
70
        } catch (Exception e) {
71
            System.out.println(e.getMessage());
71
            System.out.println(e.getMessage());
72
        }
72
        }
-
 
73
        response.setContentType("application/pdf");
73
        response.setHeader("Content-disposition", "inline; filename=recharge-invoice-" + rechargeId + ".pdf");
74
        response.setHeader("Content-disposition", "inline; filename=recharge-invoice-" + rechargeId + ".pdf");
74
 
75
 
75
        ServletOutputStream sos;
76
        ServletOutputStream sos;
76
        try {
77
        try {
77
            sos = response.getOutputStream();
78
            sos = response.getOutputStream();