cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-3090) JAX-RS Trailing slashes required for first access
Date Tue, 02 Nov 2010 19:50:29 GMT

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

Sergey Beryozkin resolved CXF-3090.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.4
                   2.3.1
                   2.2.12
         Assignee: Sergey Beryozkin

> JAX-RS Trailing slashes required for first access
> -------------------------------------------------
>
>                 Key: CXF-3090
>                 URL: https://issues.apache.org/jira/browse/CXF-3090
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>         Environment: Running in tomcat via cargo
>            Reporter: Patrick Leamon
>            Assignee: Sergey Beryozkin
>             Fix For: 2.2.12, 2.3.1, 2.4
>
>
> I have a CXFServlet configured with a url pattern of /service/*
> In my beans definition I have a  <jaxrs:server address="/description">...
> The service bean mapped to this has no @Path annotation, just a method with an @GET.
> This leads to some odd behaviour.  If the first attempt to access the servlet goes to
the url "/service/description", a 404 is returned.  If a trailing slash is added so the url
becomes "/service/description/", the service works fine.  Once any access to the servlet has
matched a url correctly, then "/service/description" (no trailing slash) works fine.
> It would be great if this could be accessed consistently.  Either require a traliing
slash or allow the request without it.  Preferably the latter.

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