Hello,
if you target the "/search" resource, the "routing" code transfers the
request/response pair to a new (and dedicated) instance of the
UserResource class.
What do you mean by "The process not goes to the resource class."? When
you want to target the "/search" URI, do you get a 404 response?
Best regards,
Thierry Boileau
> Hi,
>
> I would like to know how the control goes to the resource class after the
> code router.attach("/search",UserResource.class);
>
> I have done this in Application Class, but The process not goes to the
> resource class. What else i have to follow to map the resource class and to
> control flow to the resource class
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446328
>
>
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446345