TestHttpClient client = new TestHttpClient();
File rootPath = new File(getClass().getResource("page.html").toURI()).getParentFile();
File newSymlink = new File(rootPath, "newSymlink");
try {
DefaultServer.setRootHandler(new CanonicalPathHandler()
.setNext(new PathHandler()
.addPrefixPath("/path", new ResourceHandler()
.setResourceManager(new FileResourceManager(newSymlink, 10485760, true, rootPath.getAbsolutePath().concat("/innerSymlink")))
.setDirectoryListingEnabled(false)
.addWelcomeFiles("page.html"))));