How do i reuse the ServerResource to store many resource?

for instance, i have already do: 

        router.attach("/contact/123", ContactServerResource.class);


How do i type in a different url like /shops/1234 to get to the 
ContactServerResource's other resource. it seems that one URL is attached to 
one class only. 

is there any example around? how do I do it? 

Thank you !

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2691898

Reply via email to