Subversion Repositories SmartDukaan

Rev

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

Rev 20791 Rev 20792
Line 303... Line 303...
303
			rowNum++;
303
			rowNum++;
304
		}
304
		}
305
		ServletOutputStream os = response.getOutputStream();
305
		ServletOutputStream os = response.getOutputStream();
306
		workBook.write(bos);
306
		workBook.write(bos);
307
		bos.writeTo(os);
307
		bos.writeTo(os);
-
 
308
		os.flush();
308
		String filename=this.getMy() + "-order.xlsx";
309
		String filename=this.getMy() + "-order.xlsx";
309
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
310
		response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
310
		response.setHeader("Content-Disposition","attachment; filename=\"" + filename + "\"");
311
		response.setHeader("Content-Disposition","attachment; filename=\"" + filename + "\"");
311
 
312
 
312
		
313