You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Yann Diorcet (JIRA)" <ji...@apache.org> on 2011/07/25 17:08:18 UTC

[jira] [Created] (FELIX-3054) PathInfo & ServletPath

PathInfo & ServletPath
----------------------

                 Key: FELIX-3054
                 URL: https://issues.apache.org/jira/browse/FELIX-3054
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
            Reporter: Yann Diorcet


There is an bizarre choice with the splitting between PathInfo, ServletPath and ContextPath.
Indeed when i register a servlet (or a resource) to the path "/path1"
In my HttpContext when i receive a request (in handleSecurity for example) the information associated with the request(/path1/abcd) are the following:
PathInfo: /path1/abcd
ServletPath: 
ContextPath: 

Isn't  a weird behaviour? 
A splitting like the following one, isn't it more logical?
PathInfo: /abcd
ServletPath: /path1
ContextPath: 

Thanks


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira