String msg = "Direct access not allowed for mounted targets";
// the target was mounted, but we got here via another path
// : deny the request
log.error(msg + " [request=" + requestCycle.getRequest() + ",target=" + target +
",session=" + Session.get() + "]");
throw new AbortWithWebErrorCodeException(HttpServletResponse.SC_FORBIDDEN, msg);
}
}
if (target == null)
{