tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <>
Subject RE: Help with Servlet Configuration Files, where to put them
Date Fri, 20 Apr 2001 21:40:41 GMT
put it in your warfile in WEB-INF/classes
then load it using

> If I drop the war file in, I can't edit the site specific
> configuration until the app is first accessed and expanded into
> the webapps dir.

two options

1. create a installation package - ZeroG or Install Anywhere, or something,
that generates the property file based on the users input and then spit out
the complete WAR file with the new property file

2. just tell your customer to extract the war file into the servlet engine
and manually edit the file prior to using it

Namaste - I bow to the divine in you
Filip Hanik
Software Architect

> -----Original Message-----
> From: []On Behalf Of
> John Gentilin
> Sent: Friday, April 20, 2001 2:23 PM
> To: Tomcat User List
> Subject: Help with Servlet Configuration Files, where to put them
> Is there any standard on how to implement configuration files.
> I have an issue with site specific information. If I package the file
> with my WAR file and load it from the classpath, I have a catch
> 22 situation.
> I am interested in how anyone has tackled this problem.
> Regards
> John G

View raw message