Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93226 invoked from network); 2 Nov 2006 09:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2006 09:33:24 -0000 Received: (qmail 13951 invoked by uid 500); 2 Nov 2006 09:33:20 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 13930 invoked by uid 500); 2 Nov 2006 09:33:20 -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 13919 invoked by uid 99); 2 Nov 2006 09:33:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 01:33:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of stephan.schoeffel@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 02 Nov 2006 01:33:06 -0800 Received: (qmail invoked by alias); 02 Nov 2006 09:32:44 -0000 Received: from p54A8295F.dip0.t-ipconnect.de (EHLO [192.168.178.24]) [84.168.41.95] by mail.gmx.net (mp039) with SMTP; 02 Nov 2006 10:32:44 +0100 X-Authenticated: #687276 Message-ID: <4549BAFD.6010003@gmx.net> Date: Thu, 02 Nov 2006 10:31:41 +0100 From: =?ISO-8859-1?Q?Stephan_Sch=F6ffel?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Multiple paths to one application References: <01cb01c6fe5a$29b4e2f0$bcc8a8c0@PCMELZER> <4549B2A5.4060604@gmx.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org you are right. you still have to include the webapps folder in your path. therefore it would work this way: localhost/myapp/path1/servlet1 localhost/myapp/path2/servlet2 i guess you had to replace the root app to have just / as your app folder... (just as you said) --stephan Andrew Miehs wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Doesn't this only work if your application replaces the 'ROOT' > application? > > Andrew > > On 02/11/2006, at 9:56 AM, Stephan Sch�ffel wrote: > >> if you map them to one app in your web.xml you can have different >> paths link to one app. >> >> like: >> >> >> MyServlet >> my.Servlet >> >> >> MyServlet >> /path1/servlet1 >> >> >> MyServlet >> /path2/servlet2 >> >> >> both links would map to MyServlet ie my.Servlet.class > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) > > iD8DBQFFSbbPW126qUNSzvURAn4qAKCUxRJ5gzOEVTINFsLzggswi6n1VACfc+mE > GHpg8SLtzz0o5x4op7JhmNg= > =4vxd > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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