tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavius <flav...@silverlion.com>
Subject Re: Location of properties file for web app in Tomcat
Date Mon, 02 Feb 2009 18:07:29 GMT


Thanks guys.

I think I'll try that.  I had hoped to get around setting the system
property
by simply requiring that the properties file exist in the same dir as the
war file.  Then the war file can simply ask, "where am I?" and use that
path to load the properties file.

It seems the ContextClassLoader should know where it's running from
on the physical path.  But I haven't figured that out yet.

Have a great day.
-- 
View this message in context: http://www.nabble.com/Location-of-properties-file-for-web-app-in-Tomcat-tp21767095p21794946.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message