Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 48332 invoked from network); 1 Mar 2000 03:35:49 -0000 Received: from adsl-63-198-47-229.dsl.snfc21.pacbell.net (HELO costin.dnt.ro) (63.198.47.229) by locus.apache.org with SMTP; 1 Mar 2000 03:35:49 -0000 Received: from localhost (costin [63.198.47.229]) by costin.dnt.ro (8.9.3+Sun/8.9.1) with ESMTP id TAA04383; Tue, 29 Feb 2000 19:35:35 -0800 (PST) From: costin@eng.sun.com Date: Tue, 29 Feb 2000 19:37:16 -0800 (PST) To: tomcat-dev@jakarta.apache.org, wayne@ccis.adisys.com.au Subject: Re: Naming and Layout In-Reply-To: <38BC89A4.C756EC29@ccis.adisys.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > I am curious. Does there exist some documentation that > explains the conventions for the name mappings that exist > in the Tomcat web server. An understanding of this seems > to be assumed, but I have having difficulty seeing the > logic behind a servlet/jsp URL and its actual location on > the server directory tree. > > What do terms like path and docbase mean and are what are > they relative to? path = the URL prefix that will be handled by a context docbase = the directory where the context files are located. Inside docbase you have WEB-INF - which is mandated by Servlet2.2 API. Inside WEB-INF you have classes, lib and web.xml - all fully defined in the servlet specification. Costin > > I think I must be missing an architecture diagram here. Or > something that makes the translation from url to filesystem > and vice versa obvious. > > Also re the web-inf (WEB-INF) directory. Is that a mandatory > name with some historical significance or will anything do? > Are there other magic names I should be aware of? Costin