I know that's typically where they go, but if the file is inside the
.war, how is the file going to be configured by the sysadming folks? 
Surely we can't expect them to run

   jar xvf web/WEB-INF/myconfig.properties myapp.war

Is there another location that is external from the .war file itself? 
Ideally I'd like something like


tomcat
  webapps
      myapp.war
  conf
       myapp.properties

is there a way for the webapp myapp.war to read the myapp.properties
in a portable way across web containers (not just tomcat).

thanks much.


On 8/26/05, Phillip Qin <[EMAIL PROTECTED]> wrote:
> Your classpath, i.e. WEB-INF, or classes.
> 
> -----Original Message-----
> From: Patrick Lacson [mailto:[EMAIL PROTECTED]
> Sent: August 25, 2005 11:32 AM
> To: Tomcat User-List
> Subject: configuration files for war deployments
> 
> hi All,
> 
> If I were to deploy my application as a .war file, where do I place
> the .properties configuration files?  I know there's the option of
> auto-expanding the war file at deployment, but is there a way to keep
> the war file unexpanded and provide an external .properties file for
> the web app to read from?
> 
> Many thanks
> --
> Patrick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> !DSPAM:430de46a9881311912864!
> 
> 


-- 
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to