Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 9325 invoked from network); 7 Jun 2007 08:32:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 08:32:40 -0000 Received: (qmail 94299 invoked by uid 500); 7 Jun 2007 08:32:42 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 94220 invoked by uid 500); 7 Jun 2007 08:32:42 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 94209 invoked by uid 99); 7 Jun 2007 08:32:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 01:32:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [195.216.81.147] (HELO mail.otego.com) (195.216.81.147) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2007 01:32:37 -0700 Received: (qmail 10949 invoked from network); 7 Jun 2007 10:32:15 +0200 Received: from 192.168.222.3 by zeus (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.7/2314. perlscan: 1.25st. Clear:RC:1(192.168.222.3):. Processed in 0.028137 secs); 07 Jun 2007 08:32:15 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.222.3) by 0 with SMTP; 7 Jun 2007 10:32:15 +0200 Message-ID: <4667C293.6020706@apache.org> Date: Thu, 07 Jun 2007 10:32:19 +0200 From: Giacomo Pati Organization: Apache Software Foundation User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [jira] Commented: (COCOON-2066) BlockCompletePathModule returns wrong path in scope of internal servlet call References: <3188592.1181170946367.JavaMail.jira@brutus> <4667AD56.2080308@apache.org> <4667BCB2.60404@apache.org> <4667BFE2.5020309@apache.org> <4667C10D.2010007@apache.org> In-Reply-To: <4667C10D.2010007@apache.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Grzegorz Kossakowski wrote: > Giacomo Pati pisze: > >>> If you think about getServletPath() of HttpServletRequest hold in >>> BlockCallHttpServletRequest it will return mount-path but not for the >>> current servlet but for the servlet that called current servlet. >> >> Than there is something wrong with it IMHO. > > Why do you think so? Object representing current request returns mount > path were servlet processing current request in mounted at. What's wrong > with it? getContextPath returns the path where the webapp is mounted getServletPath returns the path- - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com Orixo, the XML business alliance - http://www.orixo.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iD8DBQFGZ8KTLNdJvZjjVZARAiwdAKC0KuC1xnffvn7ZcphoP5+rlcPDngCgyYBj mbSvNTERTvZyg66tYChTS1w= =zlT5 -----END PGP SIGNATURE-----