Subversion Repositories SmartDukaan

Rev

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

Rev 2042 Rev 2058
Line 85... Line 85...
85
            }
85
            }
86
             
86
             
87
            // Preparing XLS file for output
87
            // Preparing XLS file for output
88
            response.setContentType("application/vnd.ms-excel");
88
            response.setContentType("application/vnd.ms-excel");
89
            
89
            
90
            response.setHeader("Content-disposition", "inline; filename=user-communications" + ".xls");
90
            response.setHeader("Content-disposition", "inline; filename=affiliate-report" + ".xls");
91
            
91
            
92
            ServletOutputStream sos;
92
            ServletOutputStream sos;
93
            try {
93
            try {
94
                ByteArrayOutputStream baos = getSpreadSheetData(contentRows, mAffiliate);
94
                ByteArrayOutputStream baos = getSpreadSheetData(contentRows, mAffiliate);
95
                sos = response.getOutputStream();
95
                sos = response.getOutputStream();