F
filippo.diotalevi
This problem has been reported several times in several newsletters,
but I still can't figure out a solution.
My requirement is to allow people to open/save a pdf file. I've written
a servlet that does this job and it works perfectly on Mozilla &
Firefox, but not in IE6 (6.0.2800). With IE, the open/save dialog
appears, and I can succesfully save the file; on the contrary, when I
try to open the file, Acrobat starts and give an error message saying
that it cannot find the file.
The TCPMon shows this HTTP message
HTTP/1.1 200 OK
Pragma: no-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Disposition: attachment; filename=referto_100043.pdf
Content-Type: application/pdf
Content-Length: 1755
Date: Wed, 02 Nov 2005 10:03:54 GMT
Server: Apache-Coyote/1.1
%PDF-1.4
%????
3 0 obj <</Filter/FlateDecode/Length 705>>stream
..... SORRY STRANGE CHARACTERS HERE......
trailer
<</ID
[<1abd98100b74872ebdefd3e67b7c0b98><1abd98100b74872ebdefd3e67b7c0b98>]/Root
8 0 R/Size 10/Info 9 0 R>>
startxref
1407
%%EOF
Can anyone explaining where I'm wrong?
Thanks
filippo
but I still can't figure out a solution.
My requirement is to allow people to open/save a pdf file. I've written
a servlet that does this job and it works perfectly on Mozilla &
Firefox, but not in IE6 (6.0.2800). With IE, the open/save dialog
appears, and I can succesfully save the file; on the contrary, when I
try to open the file, Acrobat starts and give an error message saying
that it cannot find the file.
The TCPMon shows this HTTP message
HTTP/1.1 200 OK
Pragma: no-cache
Cache-Control: no-cache,no-store,max-age=0
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Disposition: attachment; filename=referto_100043.pdf
Content-Type: application/pdf
Content-Length: 1755
Date: Wed, 02 Nov 2005 10:03:54 GMT
Server: Apache-Coyote/1.1
%PDF-1.4
%????
3 0 obj <</Filter/FlateDecode/Length 705>>stream
..... SORRY STRANGE CHARACTERS HERE......
trailer
<</ID
[<1abd98100b74872ebdefd3e67b7c0b98><1abd98100b74872ebdefd3e67b7c0b98>]/Root
8 0 R/Size 10/Info 9 0 R>>
startxref
1407
%%EOF
Can anyone explaining where I'm wrong?
Thanks
filippo