You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ritchie Young <ri...@mirametric.com> on 2000/12/11 07:32:33 UTC

Setting properties outside of the WAR

Hi,

Is there a standard way to set a property for a web-app other than in the WEB-INF/web.xml ?

I would like to copy my web app between several machines each of which requires some unique settings. Previously I've been doing this by setting the TOMCAT_OPTIONS="-Dprops=my.properties" before running Tomcat but I thought there must be a nicer way of doing it than that.

Thanks
Ritchie