[
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, 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?
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?
If it's not so, how can I get the target path without servlet context and query string?
> 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.