DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33567>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33567

           Summary: WebSphere problem with getServletPath
           Product: Slide
           Version: 2.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDAV Server
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


In org.apache.slide.webdav.util.WebdavUtils.java we had to adjust the method 
getRelativePath(HttpServletRequest, WebdavServletConfig). If you have 
configured Slide to be your default servlet, the method req.getServletPath() 
will be called. But that method always delivers "/" on WebSphere. So we 
changed that to req.getPathInfo() and now everything works fine.

Before: 
... 
if (config.isDefaultServlet()) { 
    result = req.getServletPath();
} else { 
    result = req.getPathInfo();
}
... 

After: 
... 
//if (config.isDefaultServlet()) { 
//    result = req.getServletPath(); 
//} else { 
    result = req.getPathInfo();
//} 



Appreciate if someone from slide-dev look into this and make generic fix that 
works for both tomcat and WebSphere

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to