Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 68935 invoked from network); 23 Jul 2008 13:55:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 13:55:14 -0000 Received: (qmail 96849 invoked by uid 500); 23 Jul 2008 13:55:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96828 invoked by uid 500); 23 Jul 2008 13:55:01 -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 96816 invoked by uid 99); 23 Jul 2008 13:55:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 06:55:01 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.61.61.104] (HELO usea-naimss2.unisys.com) (192.61.61.104) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 13:54:04 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss2 with InterScan Message Security Suite; Wed, 23 Jul 2008 08:51:29 -0500 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 Jul 2008 08:51:28 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 Jul 2008 08:51:28 -0500 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Wed, 23 Jul 2008 08:51:28 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Wed, 23 Jul 2008 08:51:27 -0500 Subject: RE: Setting context in tomcat6 Thread-Topic: Setting context in tomcat6 Thread-Index: Acjo2fjQG+ahIXMwSBioOuc7qn6mUwDorswgAAN6QfAAAxdVkAAMyolQ Message-ID: <0AAE5AB84B013E45A7B61CB66943C17213BB38FB02@USEA-EXCH7.na.uis.unisys.com> References: <0AAE5AB84B013E45A7B61CB66943C17213BB38F5F8@USEA-EXCH7.na.uis.unisys.com> <121680741710731069@QMAIL> In-Reply-To: <121680741710731069@QMAIL> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 23 Jul 2008 13:51:28.0841 (UTC) FILETIME=[34CCC390:01C8ECCB] X-Virus-Checked: Checked by ClamAV on apache.org > From: vibhuti [mailto:vibhuti.gupta@thePSI.com] > Subject: RE: Setting context in tomcat6 > > if I want that URL http://localhost:8080/ should > redirect user to the home page of my application > then what should I do? The default webapp must be named ROOT (case sensitive). You'll need to del= ete (or rename) Tomcat's default ROOT directory, and replace it with your w= ebapp (ROOT directory or ROOT.war file). > What does attribute of web application exactly mean? Anything defined for the webapp inside the element, such as resou= rces, valves, etc. > If there are no changes made to the application attributes > then can we use element in server.xml or using a > element in server.xml will have some adverse > effects on the way web application behaves. I don't know how much longer that elements inside server.xml will= be supported; the idea is to keep application information and Tomcat infor= mation separate, and lumping it all into server.xml is counter to that. Al= so, you run the risk of multiple and conflicting deployments with = elements in server.xml and inconsistently named webapps in the appBase dir= ectory. As I said before, make your life simpler by following standard pra= ctice, not what was current many years ago. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org