contextUtility = (ContextUtility) serviceManager.lookup(ContextUtility.ROLE);
Session session = RepositoryUtil.getSession(this.serviceManager, contextUtility
.getRequest());
DocumentFactory map = DocumentUtil.createDocumentFactory(this.serviceManager, session);
Publication pub = map.getPublication(pubId);
DocumentLocator loc = pub.getDocumentBuilder().getLocator(map, webappUrl);
url = "/" + pubId + "/" + area + loc.getPath();
} catch (ServiceException e) {
throw new AccessControlException("Error looking up ContextUtility component", e);
} catch (Exception e) {
throw new AccessControlException(e);
} finally {