Re: favicon when serving non-html

2010-07-07 Thread Nikola Milutinovic
as asking can my GIFs have favicon. No, they cannot. Nor should they. Nix. From: Dola Woolfe dolac...@yahoo.com To: Tom Cat tomcat-u...@jakarta.apache.org Sent: Tue, July 6, 2010 4:10:43 PM Subject: favicon when serving non-html Hi, When I serve up, say, a PDF

Re: favicon when serving non-html

2010-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dola, On 7/6/2010 2:34 PM, Dola Woolfe wrote: Thanks for the responses. When I serve up a pdf file with the code below, it shows it in an embedded acrobat, as desired. However, the icon in the browser (in the tab) is the Tomcat logo. I'd

favicon when serving non-html

2010-07-06 Thread Dola Woolfe
Hi, When I serve up, say, a PDF file, how do I control the favicon? Here's my code: response.reset(); response.setContentType(IOUtilities.gMIMEType(fn)); response.setHeader(Content-disposition, inline; filename= + file.getName()); OutputStream outStream =

Re: favicon when serving non-html

2010-07-06 Thread Peter Crowther
On 6 July 2010 15:10, Dola Woolfe dolac...@yahoo.com wrote: When I serve up, say, a PDF file, how do I control the favicon? What is the behaviour you would like/expect from the user agent in this case? - Peter

RE: favicon when serving non-html

2010-07-06 Thread Caldarale, Charles R
From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: favicon when serving non-html When I serve up, say, a PDF file, how do I control the favicon? Any request for a favicon is separate from the main page; you shouldn't have to do anything. Use an HTTP monitor (eg, Firebug) to see how

Re: favicon when serving non-html

2010-07-06 Thread Pid
On 06/07/2010 15:10, Dola Woolfe wrote: Hi, When I serve up, say, a PDF file, how do I control the favicon? Here's my code: response.reset(); response.setContentType(IOUtilities.gMIMEType(fn)); response.setHeader(Content-disposition, inline; filename= + file.getName());

Re: favicon when serving non-html

2010-07-06 Thread Dola Woolfe
To: Tomcat Users List users@tomcat.apache.org Sent: Tue, July 6, 2010 1:10:08 PM Subject: Re: favicon when serving non-html On 06/07/2010 15:10, Dola Woolfe wrote: Hi, When I serve up, say, a PDF file, how do I control the favicon? Here's my code: response.reset

Re: favicon when serving non-html

2010-07-06 Thread Len Popp
:08 PM Subject: Re: favicon when serving non-html On 06/07/2010 15:10, Dola Woolfe wrote: Hi, When I serve up, say, a PDF file, how do I control the favicon? Here's my code:    response.reset();     response.setContentType(IOUtilities.gMIMEType(fn));     response.setHeader(Content

RE: favicon when serving non-html

2010-07-06 Thread Caldarale, Charles R
From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: Re: favicon when serving non-html When I serve up a pdf file with the code below, it shows it in an embedded acrobat, as desired. However, the icon in the browser (in the tab) is the Tomcat logo. Again, take a look at the HTTP requests