Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97013 invoked from network); 3 May 2007 06:39:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 May 2007 06:39:29 -0000 Received: (qmail 63037 invoked by uid 500); 3 May 2007 06:39:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 62731 invoked by uid 500); 3 May 2007 06:39:22 -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 62720 invoked by uid 99); 3 May 2007 06:39:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 23:39:22 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of asahu.blr@gmail.com designates 64.233.184.227 as permitted sender) Received: from [64.233.184.227] (HELO wr-out-0506.google.com) (64.233.184.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2007 23:39:14 -0700 Received: by wr-out-0506.google.com with SMTP id q50so406620wrq for ; Wed, 02 May 2007 23:38:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=mhk1kbrujFUN/2R1lKu7lDADRYmJ47r2kwl9MTTd6Xj4tpwyWtJ7DarGER0gKzv1y6pWG4t4g6RJhJ9V+sDEcRlLL40oaPZi0ZMgo5qJqSIt19h+5gYQImGux/w2mhgGEcebHG7S4yDxUG5eGI5VCuq4ZEfLkQ6vWud9P2I99Oc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=VcM+bpFicM/0GkVd+bKeOwqn98QrvuIjOHQrlSEUEVeaynVNWLoygiUdTMyd7tovF/iObXf5P4yjwJh5pRpj1WKMk0v8k2z1wzCuLTQbpex3cXW/AV7UDDC19S4IbFWky11i04Hf9XM8Qgx9j9TMh6oJIT0jiRFgRWNGiWTG/3w= Received: by 10.78.181.13 with SMTP id d13mr673646huf.1178174332933; Wed, 02 May 2007 23:38:52 -0700 (PDT) Received: by 10.78.70.9 with HTTP; Wed, 2 May 2007 23:38:52 -0700 (PDT) Message-ID: Date: Thu, 3 May 2007 12:08:52 +0530 From: "Ashok Sahu" To: users@tomcat.apache.org Subject: How to access application in the root? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18695_16180963.1178174332868" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_18695_16180963.1178174332868 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I am migrating my J2EE application from JRun to Tomcat 5.0.28. I deployed successfully the 'myAppname.war' file in Tomcat. Now here is my problem: In the JRun, we were calling the jsp or servlet without giving the application name in the URL. Same thing I need to do in the tomcat otherwise it will requires lots of code changes. In the code it is written like for example: Hence I want to access the application by using http://localhost:8080/servletname instead of http://localhost:8080/myAppname/servletname I am not much familiar with tomcat. Please let me know how to achieve it. Thanks in advance Ashok ------=_Part_18695_16180963.1178174332868--