Streaming pdf document fails

2004-05-11 Thread Summers, Bert W.
I have a problem that just came up. I have PDF documents located out side of my webapps directory. When the user wants one they go to my servlet which streams it back. This use to work just fine, but now is broke. In IE I get Error opening document on TC4.1.30 and unable to open this Internet si

Re: Streaming pdf document fails

2004-05-11 Thread Sasha Borodin
rds for you too. -Sasha > From: "Summers, Bert W." <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > Date: Tue, 11 May 2004 12:32:49 -0700 > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: RE: Streaming pdf document fails >

RE: Streaming pdf document fails

2004-05-11 Thread Summers, Bert W.
but then 90% of my users are IE. Thanks. -Original Message- From: Sasha Borodin [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 2:23 PM To: Tomcat Users List Subject: Re: Streaming pdf document fails Bert, I just ran across something similar today, read this document: http:/

Re: Streaming pdf document fails

2004-05-11 Thread Christoph Meier
As far as i remeber, IE wants to know the content-length to show a PDF. => put the appopriate content-length into your Response-Header, ensure to have set the right content-type and i would expect that the PDF-stream should work then for IE, too. _christoph I have a problem that just came up.

RE: Streaming pdf document fails

2004-05-11 Thread Summers, Bert W.
:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 12:28 PM To: Tomcat Users List Subject: Re: Streaming pdf document fails As far as i remeber, IE wants to know the content-length to show a PDF. => put the appopriate content-length into your Response-Header, ensure to have set the right content-t

Re: Streaming pdf document fails

2004-05-11 Thread Christoph Meier
the PDF opens in the browser ok, but that is not what I want. Secondly Mozilla still asks for the file twice and gets it, but only displays one of them. -Original Message- From: Christoph Meier [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 12:28 PM To: Tomcat Users List Subject:

RE: Streaming pdf document fails

2004-05-11 Thread Bui, Bao-Ha D
: Summers, Bert W. [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 11, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: Streaming pdf document fails I have a problem that just came up. I have PDF documents located out side of my webapps directory. When the user wants one they go to my servlet which