I see. Let me confirm the concept. if I need more than two levels? say "contacts/{category}/{id}"
Would it be correct conceptually: router.attach("/contact/{category}/{id}", ContactServerResource.class); and in ContactServerResource, String categoryName= (String)getRequestAt​tributes().get("category")​; So I create a nested if else within ContactServerResource to simulate the multiple levels? Is this the best practice or the way you guys do it? ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2692668