Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 84024 invoked from network); 13 Oct 2003 13:42:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Oct 2003 13:42:03 -0000 Received: (qmail 19515 invoked by uid 500); 13 Oct 2003 13:41:39 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 19449 invoked by uid 500); 13 Oct 2003 13:41:38 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 19414 invoked from network); 13 Oct 2003 13:41:38 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 13 Oct 2003 13:41:38 -0000 Received: (qmail 83853 invoked from network); 13 Oct 2003 13:41:41 -0000 Received: from unknown (HELO apache.org) (127.0.0.1) by localhost with SMTP; 13 Oct 2003 13:41:41 -0000 Message-ID: <3F8AABF2.7080901@apache.org> Date: Mon, 13 Oct 2003 15:43:14 +0200 From: Henri Gomez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr; rv:1.5b) Gecko/20030901 Thunderbird/0.2 X-Accept-Language: fr, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: Important requirement : Re: [next] What's next ? References: <9C5166762F311146951505C6790A9CF83464AF@US-VS1.corp.mpi.com> <3F7C3F51.9030206@apache.org> <3F7C400C.5060206@apache.org> <3F7C4221.1040008@apache.org> <3F7C42E6.2000001@apache.org> <3F7C4500.2060904@apache.org> <3F7D2977.7090003@apache.org> <3F7D2D13.8090602@apache.org> <3F7D2F3D.4010600@apache.org> <3F7D3F66.3050202@apache.org> <3F85339D.1020709@apache.org> <3F8A6265.2080600@apache.org> <3F8A96FD.3090202@apache.org> <3F8A9DB9.2060209@apache.org> <3F8AA22A.50405@mail.more.net> <3F8AA3E5.5070409@apache.org> In-Reply-To: <3F8AA3E5.5070409@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Remy Maucherat a �crit : > Glenn Nielsen wrote: > >> Henri Gomez wrote: >> >>> Remy Maucherat a �crit : >>> >>>> Henri Gomez wrote: >>>> >>>>> No reply for this request ? >>>>> >>>>> Should I assume I could start to work on settings the currentWorking >>>>> dir at web.xml dir location at web.xml parsing time ? >>>> >>>> >>>> >>>> >>>> >>>> I like basing the resolution on the host appBase a lot more. >>> >>> >>> >>> >>> Well it will be problematic for all TC 3.2/3.3 users since the >>> location was the web.xml (which seems more realist). >>> >>> Let me explain : >>> >>> If you have a large and segmented web application, you won't put >>> all the settings in the same web.xml. >>> >>> So you're using entities in web.xml to load parts of the applications >>> from files present in WEB-INF, whatever webapp location could be. >>> >>> .... >>> >>> >>> >>> >>> >>> .... >>> >>> &ap_part1; >>> &ap_part2; >>> &ap_part3; >>> >>> .... >>> >>> With a load base relative to app base you break such 'natural' >>> behaviour. >>> >>> Also consider that you could have many webapps, in many differents >>> locations (think ISP/ASP), which didn't have to know the location of >>> the appBase. >>> >>> If you want we could make it Context optional but the choice should be >>> present to allow sites using TC 3.2/3.3 to switch more easily to 5.0... >>> >> >> Henri, this issue is only related to loading of ENTITY's from web.xml? >> >> Doesn't the XML parser handle resolving those, and can't you use >> references >> relative to the directory the web.xml is in? > > > I think I have misunderstood stuff. It is ok to base resolution on the > webapp docBase (but not on the server home directory). > > As Glenn says, it seems more logical to base it on the location of web.xml. Allelouia, we agree ;) The base should be the location of web.xml (la prochaine fois j'envoie un mail en fran�ais :---) --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org