You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Michael Elman (JIRA)" <ji...@apache.org> on 2009/07/26 10:25:14 UTC

[jira] Assigned: (WINK-119) Root Resources at "/" with Subresource Locators/Methods does not work

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

Michael Elman reassigned WINK-119:
----------------------------------

    Assignee: Nadav Fischer

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