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