Hi there,
I've been using the following construct in order to make available static
resources in the root of my exploded WAR.
Directory dir = new Directory(getContext(),
LocalReference.createFileReference(new File(".")));
dir.setListingAllowed(true);
router.attach(dir);
This seems to work fine when testing before deployment, but once the WAR is
packaged and deployed on Jetty, the relative file reference is pointing to root
of the Jetty installation, and not to the root of the WAR file.
Can someone advise me as to what I should be doing?
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386770