tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [OT] Tomcat mapping of URLs -> servlets
Date Wed, 03 Dec 2008 15:48:37 GMT
Caldarale, Charles R wrote:
>> From: André Warnier []
>> Subject: Re: Tomcat mapping of URLs -> servlets
>> I was using Firefox, 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 dialog must be a 
function of the plugin, not the browser.
Maybe a more recent PDF plugin splits the above string at the "&File=" 


User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: 
Gecko/20080623 Firefox/
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; 

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message