HttpServletResponse response = this.getResponse();
response.addHeader("Content-Disposition",
"attachment; filename="+filneName);
try {
OutputStream outStream = response.getOutputStream();
outStream.write(blobBytes);
outStream.flush();
outStream.close();
} catch (IOException e) {
e.printStackTrace();
}
response.addHeader("Content-Disposition",
"attachment; filename="+filneName);
try {
OutputStream outStream = response.getOutputStream();
outStream.write(blobBytes);
outStream.flush();
outStream.close();
} catch (IOException e) {
e.printStackTrace();
}