Re: serving files through SSL

2007-11-08 Thread Roger Parkinson
s R wrote: From: Roger Parkinson [mailto:[EMAIL PROTECTED] Subject: Re: serving files through SSL I've identified that the cache headers are being set by default on the dynamic file. I don't know that they are the issue but it is the one difference I can spot. As you've b

RE: serving files through SSL

2007-11-08 Thread Caldarale, Charles R
> From: Roger Parkinson [mailto:[EMAIL PROTECTED] > Subject: Re: serving files through SSL > > I've identified that the cache headers are being set by > default on the dynamic file. I don't know that they are > the issue but it is the one difference I can spot. As

Re: serving files through SSL

2007-11-08 Thread Roger Parkinson
Gabe: 1) response.setContentLength(10115); Yep, hard coded value figured by checking the length of my test pdf file manually. I believe it is correct. I don't want to add the code that would figure the length unless I have some evidence that it makes any difference and it hasn't yet. 2) I chang

Re: serving files through SSL

2007-11-07 Thread Gabe Wong
Roger Parkinson wrote: I'm opening the PDF in a new window (as the javascript shows) so what I see for the dynamic pdf is: 1) the new window (empty) 2) the download progress dialog 3) an error dialog referring the file name with the message 'cannot write the file to the cache' On the static P

Re: serving files through SSL

2007-11-07 Thread Roger Parkinson
I'm opening the PDF in a new window (as the javascript shows) so what I see for the dynamic pdf is: 1) the new window (empty) 2) the download progress dialog 3) an error dialog referring the file name with the message 'cannot write the file to the cache' On the static PDF I don't see 2 or 3 an

Re: serving files through SSL

2007-11-07 Thread Gabe Wong
Roger Parkinson wrote: In both cases the URL is invoke with some javascript that looks like this: function downloadpdf(url) { var pdfWindow = window.open( url ,'pdf','top=0,left=0,width=1000,height=700,toolbar=no,status=no,scrollbars=yes,resizable=yes,menubar=no'); } The application invok

Re: serving files through SSL

2007-11-07 Thread Roger Parkinson
In both cases the URL is invoke with some javascript that looks like this: function downloadpdf(url) { var pdfWindow = window.open( url ,'pdf','top=0,left=0,width=1000,height=700,toolbar=no,status=no,scrollbars=yes,resizable=yes,menubar=no'); } The application invokes a mix of html and servle

RE: serving files through SSL

2007-11-07 Thread Caldarale, Charles R
> From: Roger Parkinson [mailto:[EMAIL PROTECTED] > Subject: serving files through SSL > > I am trying to deliver some PDFs to the browser using my tomcat > application. It works, but not always under SSL and IE. This is a known problem with IE. A search of the archives (http://marc.info/?l=to

Re: serving files through SSL

2007-11-06 Thread Gabe Wong
Roger Parkinson wrote: I am trying to deliver some PDFs to the browser using my tomcat application. It works, but not always under SSL and IE. One file is a static PDF and it lives inside my war file. That works just fine. The file is accessed using a url like /myapp/web/myfile.pdf and that alw