Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 80925 invoked from network); 8 Jul 2008 13:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 13:29:36 -0000 Received: (qmail 80351 invoked by uid 500); 8 Jul 2008 13:29:33 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 80333 invoked by uid 500); 8 Jul 2008 13:29:33 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 80318 invoked by uid 99); 8 Jul 2008 13:29:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 06:29:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 13:28:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B3DDD234C15A for ; Tue, 8 Jul 2008 06:28:56 -0700 (PDT) Message-ID: <722013047.1215523736735.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 06:28:56 -0700 (PDT) From: "Sergio Bossa (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Updated: (ABDERA-187) Does RequestContext.getTargetBasePath() return wrong path? In-Reply-To: <2122842083.1215523474965.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergio Bossa updated ABDERA-187: -------------------------------- Description: The RequestContext.getTargetBasePath() method always returns the path which the Abdera servlet is mapped to. I think it should return the actual request target path: i.e., given the "http://www.acme.org/servlet-context/collection/entry?a=b", the RequestContext.getTargetBasePath() method should return "/collection/entry" ... am I right? If it's not so, how can I get the target path without servlet context and query string? was: The RequestContext.getTargetBasePath() method always returns the path which the Abdera servlet is mapped to. I think it should return the actual request target path: i.e., given the "http://www.acme.org/servlet-context/collection/entry?a=b", the RequestContext.getTargetBasePath() method should return "/collection/entry" ... am I right? Summary: Does RequestContext.getTargetBasePath() return wrong path? (was: RequestContext.getTargetBasePath() returns wrong path.) > Does RequestContext.getTargetBasePath() return wrong path? > ---------------------------------------------------------- > > Key: ABDERA-187 > URL: https://issues.apache.org/jira/browse/ABDERA-187 > Project: Abdera > Issue Type: Bug > Affects Versions: 0.5.0 > Reporter: Sergio Bossa > > The RequestContext.getTargetBasePath() method always returns the path which the Abdera servlet is mapped to. > I think it should return the actual request target path: i.e., given the "http://www.acme.org/servlet-context/collection/entry?a=b", the RequestContext.getTargetBasePath() method should return "/collection/entry" ... am I right? > If it's not so, how can I get the target path without servlet context and query string? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.