setting a favicon in java app using eclipse

660 views
Skip to first unread message

Phone Guy

unread,
Aug 28, 2009, 1:07:58 AM8/28/09
to Google App Engine
Of all the things to get hung up on, this one should not be it... I
cannot for the life of me make my favicon.ico show up in my
application. I'm writing a java app using the eclipse plug to
deploy. The instructions for this in python are pretty clear. For
java, I keep reading that I just need to drop the icon file in the war
root directory and it will get picked up. So I think I'm doing that
right, but I cannot for the life of me make the icon appear in my
application.

Has anyone else run into this?

gjs

unread,
Aug 31, 2009, 1:04:50 AM8/31/09
to Google App Engine
Hi there,

I had the same problem, but got favicon.ico to work by ALSO including
it in the listing of static files in appengine-web.xml

eg:

<?xml version="1.0" encoding="utf-8" ?>
- <appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>xxx</application>
<version>1</version>
- <!-- Configure java.util.logging
-->
- <system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/
logging.properties" />
</system-properties>
- <static-files>
<include path="/**.png" />
<include path="/**.jpg" />
<include path="/**.html" />
<include path="/**.ico" />
</static-files>
</appengine-web-app>

Regards
Reply all
Reply to author
Forward
0 new messages