Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 23043 invoked from network); 14 Feb 2006 17:11:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Feb 2006 17:11:44 -0000 Received: (qmail 67201 invoked by uid 500); 14 Feb 2006 17:11:29 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 67182 invoked by uid 500); 14 Feb 2006 17:11:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 67171 invoked by uid 99); 14 Feb 2006 17:11:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 09:11:28 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.103.126.135] (HELO mail.dsg.vertisinc.com) (63.103.126.135) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2006 09:11:28 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: default webapp not understanding X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Tue, 14 Feb 2006 11:11:07 -0600 Message-ID: <34385CBC5E8E664EB0007814636AB36A0316D9CB@exchange1.dimensions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: default webapp not understanding Thread-Index: AcYxgnbNQY9Vp5sfRuOl8g8SCz5c3AAAnXIQAAEgvoA= From: "Scott Purcell" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry, I didn't catch the other one. Tomcat 5.5x on xp If I deploy the webapp in ROOT, then the structure would look like this: $TOMCAT_HOME/webapps/root/mywebapp.=20 And the index.html would still live in root .. isn't that correct. So I would still need a way to go from the root/index.html to the mywebapp/index.html correct? This is where it gets confusing. Thanks, -----Original Message----- From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]=20 Sent: Tuesday, February 14, 2006 10:46 AM To: Tomcat Users List Subject: RE: default webapp not understanding > From: Scott Purcell [mailto:spurcell@vertisinc.com]=20 > Subject: default webapp not understanding >=20 > I am having trouble understanding what is meant by the default webapp. (It would help if you'd tell us what Tomcat level you're running...) For 5.5.x, the default webapp is the one located in webapps/ROOT.war or the webapps/ROOT directory. > Can I somehow configure this to go to the above > $TOMCAT_HOME/webapps/mywebapp/index.html? Deploy your webapp in webapps/ROOT, not webapps/mywebapp. > I get confused when the doc states that the entry in the host=20 > must also have a context entry? Can anyone clarify that. Where does it say that? The current doc states that you _can_ nest tags inside , not that you must. Putting tags in server.xml is strongly discouraged these days, but not all of the doc has caught up to that fact. > Here from the docs >=20 > Exactly one of the Hosts associated with each Engine MUST have a name > matching the defaultHost attribute of that Engine. That attribute for simple Tomcat installations is "localhost", which you already have. Nothing to do with contexts. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org