Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 18258 invoked from network); 13 May 2000 19:46:10 -0000 Received: from mailhost.cs.auc.dk (root@130.225.194.2) by locus.apache.org with SMTP; 13 May 2000 19:46:10 -0000 Received: from loda17.cs.auc.dk (max@loda17.cs.auc.dk [130.225.194.64]) by mailhost.cs.auc.dk (8.9.3/8.9.3) with ESMTP id VAA21874 for ; Sat, 13 May 2000 21:45:32 +0200 (MET DST) Received: (from max@localhost) by loda17.cs.auc.dk (8.9.3/8.9.3) id VAA24027; Sat, 13 May 2000 21:45:29 +0200 (MET DST) X-Authentication-Warning: loda17.cs.auc.dk: max set sender to max@loda17.cs.auc.dk using -f To: tomcat-user@jakarta.apache.org Subject: User customization of .war applications From: max@cs.auc.dk (Max R. Andersen) Date: 13 May 2000 21:45:28 +0200 In-Reply-To: Nacho's message of "Sat, 13 May 2000 18:45:01 +0200" Message-ID: Lines: 25 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi! I have searched high and low for an answer to this one :) web.xml has tags for defining init parameters that can be defined for the context and each servlet. web.xml is packaged with the .war file and in my understanding the server-administrator should not need to expand this file to install the war. But how can I then receive userdefined settings for my settings ? The dtd for server.xml does not seem to include any tags for defining context wide parameters for a war ! Currently I use the user.home property to get a .mywebapp property file with usersetttings, but that is not portable and rather clumsy. How should/could this be done ? In my oppinion the best place for this is in the server.xml file....or ? -- Max R. Andersen (max@cs.auc.dk)