thank you very much! I used your solution and it works good. But there is still a small problem:
application class: router.attach( "/restlet/myresource",MyResourceA.class ); router.attach( "/*", MyResourceB.class ); router.attachDefault(new Directory(getContext(), "war:///")); I want to call MyResourceB when I type something like "localhost/MyRestletApp/requesturl" but this doesn't work. It always tries to convert the target to "war:///requesturl" What is wrong? Thanks in advance! ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2437065