> 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 you're getting.  There will be a 
separate GET favicon.ico request which is normally handled by Tomcat's 
DefaultServlet, delivering the webapps/ROOT/favicon.ico file.  You can either 
intercept that request with your own servlet or filter, or just change the 
favicon.ico file in the above location to be whatever you want.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to