Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
Frank Zammetti wrote: I'm doing this as well, and three things come to mind... (1) For IE, you must set the response size or it'll choke. Looks like your doing that already. (2) Try adding response.setContentType("application/pdf"); to your code. That's the only extra thing I'm doing in my code

RE: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Frank Zammetti
I'm doing this as well, and three things come to mind... (1) For IE, you must set the response size or it'll choke. Looks like your doing that already. (2) Try adding response.setContentType("application/pdf"); to your code. That's the only extra thing I'm doing in my code. (3) Acrobat integrat

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Dean A. Hoover
Sorry its not clear, but the filename does end in .pdf Dean Mark Lowe wrote: I'm not sure, but i think bill thought the world a better place if applications associate file types according to the file suffix. it will need .pdf at the end of the filename. filename=\"" + attachment.getFileName() + "

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Henrique VIECILI
Hi Dean, I did it once, and i did like this: (solution for PDF file working on IE and any Acrobat Version) ... response.setContentType("application/octet-stream"); // Acrobat 4 seems "don“t like" 'application/pdf' byte[] data = xxx.getData(); response.setContentLength(data.length); response.setHe

Re: HTTP header for dynamic pdf and IE6

2004-06-04 Thread Mark Lowe
I'm not sure, but i think bill thought the world a better place if applications associate file types according to the file suffix. it will need .pdf at the end of the filename. filename=\"" + attachment.getFileName() + "\".pdf" could fix it. On 4 Jun 2004, at 14:37, Dean A. Hoover wrote: Sorry if