String uri = RepositoryUtil.normalize(WebdavRepositoryDAO.FILES_PREFIX + WebdavRepositoryDAO.PATH_SITES + "/" + siteName + "/" + path + "/" + file);
String uri = WebdavConnection.normalize(WebdavRepositoryDAO.FILES_PREFIX + WebdavRepositoryDAO.PATH_SITES + "/" + siteName + "/" + path + "/" + file);
    public ActionForward handleRequest(AdminUserRequest request)        throws IOException, ServletException    {        EditorForm form = (EditorForm) request.getActionForm();        String siteName = form.getSite();        siteName = siteName == null ? "" : siteName;        String path = form.getPath();        path = path == null ? "" : path;        String file = form.getFile();        // compute the path, using our DAO (which we shouldn't use from here,         // but no time to do it right by talking to the repository right now -        // instead, we are going to use the Slide tags which talk directly to the kernel        String uri = RepositoryUtil.normalize(WebdavRepositoryDAO.FILES_PREFIX + WebdavRepositoryDAO.PATH_SITES + "/" + siteName + "/" + path + "/" + file);         log.debug("uri="+uri);        form.setComputedUri( uri );        // if save clicked attempt to save the modified content        if (buttonPressed(request, BUTTON_SAVE))        {            log.debug("Save pressed"); 		    // If there are any errors, show them on the input form			ActionErrors errors = form.validate(request.getMapping(), request.getRequest()); // validate form		    if (!errors.isEmpty()) {				saveErrors(request, errors);			    return (new ActionForward(request.getMapping().getInput()));		    }			return processSave( request, form );        }        // else, if preview clicked        else if (buttonPressed(request, BUTTON_PREVIEW))        {			log.debug("Preview pressed");			// If there are any errors, show them on the input form			ActionErrors errors = form.validate(request.getMapping(), request.getRequest()); // validate form			if (!errors.isEmpty()) {				saveErrors(request, errors);				return (new ActionForward(request.getMapping().getInput()));			}            // TODO: call the preview page        }        // else, if cancel clicked        else if (buttonPressed(request, BUTTON_CANCEL))        {            log.debug("Cancel pressed");            // call the cancel logic            return processCancel(request, form);        }        // else, default to init'ing the editing        else        {            log.debug("Initializing editor");            return processInitEditor(request, form);        }        return request.getMapping().findForward("editor.default");    }