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] Closed: (ABDERA-187) Does RequestContext.getTargetBasePath() return wrong path?
Date Wed, 09 Jul 2008 16:49:32 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Sergio Bossa closed ABDERA-187.

    Resolution: Invalid

I see that the method javadoc reports the following line: "Returns the subset of the request
URI that is the base of the target path (e.g. HttpServletRequest.getServletPath())".
So, that method correctly behaves like HttpServletRequest.getServletPath().
Sorry for the wrong issue.

> 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, is there a method to get the target path without servlet context and
query string, or do I have to make a substring by myself?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message