-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.
>
>
Why would you?
FavIcon is meant as attributes of pages, more specifically pages of whole
sites.
You can potentially have different FavIcons for different parts of your web
site, but that is not common. Resources, which PDF is, have no reason for
"having a favourite icon". It would be the same
> 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
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,
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
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
> 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
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