Caldarale, Charles R wrote:
From: André Warnier [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat mapping of URLs -> servlets
I was using Firefox 2.0.0.15, on a Windows XP station.
Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was
in beta.
http___cds-esd.sun.com_ESD34_JSCDL_servlet_2.5-mrel2_servlet-2
_5-mrel2-spec.pdf_AuthParam=1228317193_d403854b71d795ea3a31917
ee8f68382&TicketId=nodzAVkWRHd5l%2BIvkk6ZUZmZdA%3D%3D&GroupNam
e=CDS&FilePath=_ESD34_JSCDL_servlet_2.5-mrel2_servlet-2_5-mrel
2-spec.pdf&File=servlet-2_5-mrel2-spec.pdf
and that is what it does not like.
I wouldn't either. Again, using current versions of Firefox and Adobe Reader,
the problem doesn't seem to exist.
Using the Firefox LiveHttpHeaders add-on, it is quite interesting to see
what really happens when opening this document in the PDF plugin.
At any rate, there is no "Content-disposition:" header with a filename
coming from the server.
So the filename above and its usage in the file..save dialog must be a
function of the plugin, not the browser.
Maybe a more recent PDF plugin splits the above string at the "&File="
portion.
http://cds-esd.sun.com/ESD34/JSCDL/servlet/2.5-mrel2/servlet-2_5-mrel2-spec.pdf?AuthParam=1228318870_1110e1ea2590969b0c44bee9625ff3aa&TicketId=B%2Fw6nRqGSlxISRRFOlFflw7m&GroupName=CDS&FilePath=/ESD34/JSCDL/servlet/2.5-mrel2/servlet-2_5-mrel2-spec.pdf&File=servlet-2_5-mrel2-spec.pdf
GET
/ESD34/JSCDL/servlet/2.5-mrel2/servlet-2_5-mrel2-spec.pdf?AuthParam=1228318870_1110e1ea2590969b0c44bee9625ff3aa&TicketId=B%2Fw6nRqGSlxISRRFOlFflw7m&GroupName=CDS&FilePath=/ESD34/JSCDL/servlet/2.5-mrel2/servlet-2_5-mrel2-spec.pdf&File=servlet-2_5-mrel2-spec.pdf
HTTP/1.1
Host: cds-esd.sun.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.15)
Gecko/20080623 Firefox/2.0.0.15
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.7,de-de;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: s_vi=[CS]v1|4910967300004D51-A02085E00002721[CE]; s_cc=true;
s_sq=%5B%5BB%5D%5D
HTTP/1.x 200 OK
Server: Apache
Etag: "57587018e35c367a072891456a862416:1189475510"
Last-Modified: Mon, 10 Sep 2007 23:49:29 GMT
Accept-Ranges: bytes
Content-Length: 2248516
Content-Type: application/pdf
Expires: Wed, 03 Dec 2008 15:39:11 GMT
Cache-Control: max-age=0, no-cache
Pragma: no-cache
Date: Wed, 03 Dec 2008 15:39:11 GMT
Connection: keep-alive
.. and after that a lot of "partial-content" byterange answers.
But also without filename.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]