I was able to fix this with
| response.setHeader("Pragma", "public");
| response.setHeader("Cache-Control", "max-age=0");
|
in front of the other response.setHeader("") stmts
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879982#3879982
Reply to the p
Hello, I have JBoss 4.0.2/Tomcat 5.5, using JasperReport 0.6.1
I have a servlet that returns pdf/xls dynamically, which works for
me under JBoss 3.2.3/Tomcat 4.1:
| response.setContentType("application/pdf");
| response.addHeader("Content-Disposition",
| "attachment; filename=returnFil