Let's say I create a simple Router

@Override
public Restlet createInboundRoot() {
        Router router = new Router(getContext());
        router.attach("test", TestResource.class);
        return router;
}

now, if i call http://mydomain.com:2828/test with a browser i get "Not
Found The server has not found anything matching the request URI"

but if i call http://mydomain.com:2828/test/ the TestResource is
routed correctly

instead

if i call both http://localhost:2828/test or
http://localhost:2828/test/ then i get a Not Found again...

the only difference is the slash at the end of the URL. I don't know
if this has anything to do with it but I'm using a dynamic dns service
(no-ip.org) to resolve my computer ip address.

I'm using Restlet 2.1.1

thanks in advance,
Pier Luigi

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

Reply via email to