abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergio Bossa (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ABDERA-187) Does RequestContext.getTargetBasePath() return wrong path?
Date Tue, 08 Jul 2008 13:28:56 GMT

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


Mime
View raw message