I am trying to create an application on GAE using the Restlet-GAE M6 ..
I ran into a problem when trying to attach an sub Application to the root
Application ..
here is what I am trying to do:
public class RootApplication extends Application {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
router.attach("/a/", new SubApplication());
return router;
}
}
public class SubApplication extends Application {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
router.attach("b/", HelloWorldHelloWorldResource.class);
return router;
}
}
public class HelloWorldResource extends ServerResource {
@Get
public String represenxst() {
return "hello, world (from the cloud!)";
}
}
I have tested this on the SE edition and it worked fine when I go to /a/b/ url
it works as expected .. but on GAE it does not work
any suggestions on why this is happening?
Thanks in advance
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423740