Hi everyone,

I was wondering how to place a simple html file in the root directory of my application which is quite similar to the "First Resource" example.

If I use this code

router.attach("/", new Directory(getContext(), docDir));

where docDir refers to the location of the documentation directory, I get the following error:

java.lang.IllegalArgumentException: Relative references are only usable when a base reference is set.

Thanks in advance!

Chris

Reply via email to