tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Crispim <flavio.cris...@gmail.com>
Subject Re: Location of properties file for web app in Tomcat
Date Sat, 07 Feb 2009 15:10:46 GMT
Christopher Schultz wrote:
> Flavius,
>
> Flavius wrote:
>   
>> My ultimate goal is to give these instructions to a network admin:
>>
>> 1.  Download and install Tomcat
>> 2.  Place war file in <TomcatDir>/webapps
>> 3.  Put the app.properties file at __________ and set your database and
>> email server info.
>> 4.  Start tomcat
>>     
>
> Something even cooler would be to provide a simple text editor that
> would load your properties file from the WAR and write it back into the
> WAR when you saved it. Then you get the best of both worlds.
>
> - -chris
Just to mention, there are cases when a JNDI would do the trick and 
sometimes (not always) like a system property would do.

regards

Flavio



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


Mime
View raw message