if (documentRoot != null)
{
if (!path.startsWith("/"))
{
throw new MalformedURLException("The specified path ('" + path
+ "') does not start with a '/' character");
}
File resolved = new File(documentRoot, path.substring(1));
if (resolved.exists())
{