[ 
https://issues.apache.org/jira/browse/WINK-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735714#action_12735714
 ] 

Bryant Luk commented on WINK-119:
---------------------------------

I think if we already have a simple solution that we should just go ahead and 
apply it to trunk.  The code will eventually be changed to fix the issue so if 
the solution is good enough today, why not?  It would give users more assurance 
that there are fewer open issues and they would be using what the code looks 
like eventually anyway.

> Root Resources at "/" with Subresource Locators/Methods does not work
> ---------------------------------------------------------------------
>
>                 Key: WINK-119
>                 URL: https://issues.apache.org/jira/browse/WINK-119
>             Project: Wink
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.1
>            Reporter: Bryant Luk
>            Assignee: Nadav Fischer
>         Attachments: WINK-119.patch
>
>
> A root resource with @Path("/") and a subresource method/locator will not 
> match.
> {code}
> @Path("/")
> public class Root {
>    @GET
>    @Path("hello")
>    public String getHelloWorld() {
>       return "Hello world";
>    }
> }
> {code}
> And issuing a GET to /hello would result in a 404.

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

Reply via email to