Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79415 invoked from network); 5 Feb 2009 16:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 16:38:56 -0000 Received: (qmail 91531 invoked by uid 500); 5 Feb 2009 16:38:44 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 91507 invoked by uid 500); 5 Feb 2009 16:38:44 -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 91496 invoked by uid 99); 5 Feb 2009 16:38:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 08:38:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dave.pawson@gmail.com designates 72.14.220.155 as permitted sender) Received: from [72.14.220.155] (HELO fg-out-1718.google.com) (72.14.220.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 16:38:35 +0000 Received: by fg-out-1718.google.com with SMTP id l27so243330fgb.40 for ; Thu, 05 Feb 2009 08:38:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UyTEZPgS8oaSxfBTkEjjpf+pIURp+LtVYXKNQX7ERqg=; b=q9fv2G7608U6zJugZJ/bKwqkMsmKoWpkwsLkmNJ0UZrhN2u5s/aP08nNUbdG8Y5pWl 1avjb4oJDsnwEi1WZ3jDgiZaDmTzmfLN3bw1p5NWXymB+Bspj1Ww9is7TbXcnZOozvws KYdizu0V7oabnwUmlZ8HBPwT5gYKJ7lAimcdk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eZb534bhKzkTTPGwJNJvh/HXwa8ZV1x0Bnbr289HvXLB4ZHLmW8beUOJC9HFzw1X8N xoA8yuvizg9ShIy3kn6Ac9A0esfOozrHm9oqIDi10lTq4w3d1O3vMbjWc3ua1eOCMzyw JVrwGOULBaMh61WvU//M3eUNt0EpaYPP6BIac= MIME-Version: 1.0 Received: by 10.86.65.9 with SMTP id n9mr433949fga.61.1233851895350; Thu, 05 Feb 2009 08:38:15 -0800 (PST) In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17215B60C93AA@USEA-EXCH7.na.uis.unisys.com> References: <711a73df0902040535t670fcd73g23e76144fa544329@mail.gmail.com> <711a73df0902050653y272f5ce0rf5d0e6d34c1e3fc4@mail.gmail.com> <0AAE5AB84B013E45A7B61CB66943C17215B60C904A@USEA-EXCH7.na.uis.unisys.com> <711a73df0902050713y43202673t8004fb726e3ae7fd@mail.gmail.com> <0AAE5AB84B013E45A7B61CB66943C17215B60C9175@USEA-EXCH7.na.uis.unisys.com> <711a73df0902050747x1dbaaabbk8fd040c689fc36f5@mail.gmail.com> <711a73df0902050757y25a75a8cx35a048a369f39638@mail.gmail.com> <0AAE5AB84B013E45A7B61CB66943C17215B60C93AA@USEA-EXCH7.na.uis.unisys.com> Date: Thu, 5 Feb 2009 16:38:15 +0000 Message-ID: <711a73df0902050838i7c10e4b2t69dcb83078c091a4@mail.gmail.com> Subject: Re: servlet use. TC6, FC10 From: Dave Pawson To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.pawson@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> Thanks Chaz. Now works. > > That was Gregor, not me, that gave you the answer. (Our corporate e-mail server hasn't passed your previous message through yet - must be a Homeland Security thing. :-) I'm sure Obama will fix that :-) Sorry Gregor. And many thanks. > >> Are you going to tell me why please? > > Servlet mappings are relative to the context (webapp) part of the URL, not the host part. That allows the webapp to be deployed under any name you want without changing the web.xml settings. Just testing my understanding. Not relative to ../webapp but relative to (in this case) .../webapps/atom hence I should use the url path relative to http://localhost:8080/atom which, as you say is /* So that my code would pick up http://localhost:8080/atom/AlmostAnything Thanks. That makes sense.... and helps (I think) When I deploy (upload) to my web visible server, the web.xml file will remain the same! I'm going to write this up. I'll post to this list and would appreciate any feedback. I want to start looking at restricting access now, but I'll start a new thread for that! Many thanks gents. regards regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org