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. > >

Re: favicon when serving non-html

2010-07-07 Thread Nikola Milutinovic
e the same as asking "can my GIFs have favicon". No, they cannot. Nor should they. Nix. From: Dola Woolfe To: Tom Cat Sent: Tue, July 6, 2010 4:10:43 PM Subject: favicon when serving non-html Hi, When I serve up, say, a PDF file, how do I control

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

Re: favicon when serving non-html

2010-07-06 Thread Len Popp
ode 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 like to change it to something else. > > - Original Message > From: Pid > To: Tomcat Users List > Sent: Tue, July 6,

Re: favicon when serving non-html

2010-07-06 Thread Dola Woolfe
List 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(); > response.se

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=" + > fil

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, Fi

Re: favicon when serving non-html

2010-07-06 Thread Peter Crowther
On 6 July 2010 15:10, Dola Woolfe 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

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 = response.getOutputS