tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject Re: Location of property files
Date Wed, 19 Feb 2003 06:43:37 GMT
<%@ page import="java.util.*" %>
  Properties myProps = new Properties();
  InputStream pin =

"Jim Kennedy" <> wrote in message
I would like to know how to configure Tomcat to look for property files
(.properties) in a directory other than ...\webapps\myapp\WEB-INF\classes.
I've tried put them in the WEB-INF dir and the WEB-INF\lib directory, but I
get MissingResourceException.  It only seems to find them in the classes
dir - which makes sense.  But I would like to place them elsewhere under my
web application, preferably in the WEB-INF dir.  How can I do this?

Thanks to all

Jim Kennedy
IT Consultant

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

View raw message