Class WebdavServlet

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class WebdavServlet
    extends JcmsServlet
    This servlet implements Webdav Protocol - Issue: Renaming with not UTF-8 write wrong chars in store - Issue: What should we do with JCMS Publication vs DataController vs DeleteFolder ? - Issue: Changing a File Extension doesn't work - Issue: msoffice ask for a new authentication - Issue: Should we delete the File if overwrite has been set ? because it would not be an msoffice update with lock but a File Copy ? - Issue: An external folder can't overwrite a File MS Office 2003 and WebDAV (http://support.microsoft.com/?kbid=870853) ************************* 1. Open Regedit.exe 2. Go to HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Internet 3. Create a DWORD value named OpenDocumentsReadWriteWhileBrowsing 4. Set it to 1. MS OFfice in a new Window (http://wiki.apache.org/jakarta-slide/WebFolderIssues) ************************* 1. Launch Windows Explorer. 2. Select "Folder Options..." from the Tools menu. 3. Select the "File Types" tab. 4. Scroll down the list of "Registered file types" until you find "DOC - Microsoft Word Document" and select it. 5. Click on the "Advanced..." button at the bottom of the dialog. 6. Uncheck the "Browse in same window" checkbox. For Specific Issue: ******************* http://support.microsoft.com/?kbid=838028 http://greenbytes.de/tech/webdav/webdav-redirector-list.html http://greenbytes.de/tech/webdav/webfolder-client-list.html Webdav vs Firefox vs IE: ************************ http://msdn.microsoft.com/workshop/author/behaviors/overview/WebFolder.asp http://openwebfolder.mozdev.org/
    Since:
    jcms-5.5.0
    Version:
    $Revision: 112717 $
    Author:
    jean-philippe.encausse@jalios.com
    See Also:
    Serialized Form
    • Field Detail

      • webdavContext

        protected java.lang.String webdavContext
    • Constructor Detail

      • WebdavServlet

        public WebdavServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class JcmsServlet
        Throws:
        javax.servlet.ServletException
      • service

        protected void service​(javax.servlet.http.HttpServletRequest req,
                               javax.servlet.http.HttpServletResponse res)
                        throws javax.servlet.ServletException,
                               java.io.IOException
        Overrides:
        service in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException
      • getWebdavContext

        protected WebdavContext getWebdavContext​(javax.servlet.http.HttpServletRequest req,
                                                 javax.servlet.http.HttpServletResponse res)
        Create a new instance of WebdavContext calling the right Constructor
        Parameters:
        req - the HttpServletRequest
        res - the HttpServletResponse
        Returns:
        WebdavContext a new Webdav Context