C
Christophe Puaud
Hello,
my webapp output a pdf. With Tomcat 4.1.29 it's OK for IE6 and Mozilla. With
Tomcat 4.1.29 and Apache 2.0.49 it's OK for Mozilla but not for IE : The
file doesn't start with %PDF
The code of my JSP :
response.reset();
response.setContentType("application/pdf");
response.setContentLength(pdfBytes.length);
response.setHeader("content-disposition", "inline;filename=Rapport.pdf");
ServletOutputStream ouputStream = response.getOutputStream();
ouputStream.write(pdfBytes, 0, pdfBytes.length);
ouputStream.flush();
ouputStream.close();
Thanks
Christophe
my webapp output a pdf. With Tomcat 4.1.29 it's OK for IE6 and Mozilla. With
Tomcat 4.1.29 and Apache 2.0.49 it's OK for Mozilla but not for IE : The
file doesn't start with %PDF
The code of my JSP :
response.reset();
response.setContentType("application/pdf");
response.setContentLength(pdfBytes.length);
response.setHeader("content-disposition", "inline;filename=Rapport.pdf");
ServletOutputStream ouputStream = response.getOutputStream();
ouputStream.write(pdfBytes, 0, pdfBytes.length);
ouputStream.flush();
ouputStream.close();
Thanks
Christophe