Re: How to modify the log4j log filename during runtime?

2007-01-18 Thread Noah White
First off this is a log4j question not a Tomcat question and should be directed to the log4j list. You should begin by looking at the log4j java docs. Log4j can be completely (re)configured pragmatically with its APIs which is what you are trying to do. See org.apache.log4j.PropertyConfigurator.

Best way to handle MIME types

2007-01-17 Thread Noah White
I'm looking for input on the best way to handle MIME types in Tomcat. ServletContext.getMimeType(String fileName) returns a MIME type based on the server (or web apps) web.xml MIME type mapping configuration. This is case sensitive, thus using the default web.xml file that comes with Tomcat 5.5ge

favicon question

2006-10-26 Thread Noah White
I am trying to set the favicon for a web app. I'm running Tomcat 5.5.20 on Windows XP and dropped my .ico file into %TOMCAT_HOME%\webapps\mywebapp and restarted the server. No joy. I still get the default tomcat favicon located in %TOMCAT_HOME%\webapps\ROOT when I go to mywebapp context. Thoughts?