You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Sergio Bossa (JIRA)" <ji...@apache.org> on 2008/07/08 15:28:56 UTC

[jira] Updated: (ABDERA-187) Does RequestContext.getTargetBasePath() return wrong path?

     [ 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.