tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weseloh, Markus" <>
Subject Change classpath in webapp
Date Fri, 01 Jul 2005 05:18:41 GMT

I've a question about property files in web applications. In my app for
Tomcat 5.0.28 I want to use some property files for configuration (e.g.
log4j.xml is one of them, but I've app specific property files too). Since
these files have to be placed in the class path, so that my app can find
them, I've placed them under WEB-INF/classes. This works fine, but I would
prefer a special directory named "config" at the top of the web application
(next to WEB-INF). Is it possible to tell Tomcat that this directory is in
the classpath? Of course I could manipulate the global classpath but I hope
there's a way to place this in the web app configuration? Adding "config" to
Class-Path in META-INF/MANIFEST.MF had no effect.

Markus Weseloh

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message